Skip to contents

Internal functions to parse mode.slot strings

Usage

get.mode.slot(data, mode.slot, allow.ntr = TRUE)

Arguments

data

a grandR object

mode.slot

a mode.slot

allow.ntr

whether to allow for the value "ntr" (and throw an error in case)

Value

a named list with elements mode and slot (or only slot in case of ntr,alpha or beta)

Details

A mode.slot is a mode followed by a dot followed by a slot name, or just a slot name. A mode is either total, new or old