Table-like collection of data and metadata
The groupedData
object is the required data format to
store data needed for fitting using sbiofit
and
sbiofitmixed
. It is a table-like object that supports most of
the functions and properties of table
with a few differences.
The groupedData
object has two additional properties to
identify the independent variable and an optional grouping variable.
The groupedData
object has two additional methods that
let you create doses from data set containing dosing data and convert a
groupedData
object to a table.
groupedData.Properties
is a structure.
creates a grpData
= groupedData(tbl
)groupedData
object by copying a table or dataset
object tbl
. The GroupVariableName
and
IndependentVariableName
properties of the
grpData
object are implicitly determined by looking for
the first case-insensitive match to a list of variable names of
tbl
(tbl.Properties.VariableNames
).
For the grouping variable, the list of names is ID
,
Group
, I
, and Run
.
For the independent variable, the list of names is Time
,
T
, and IDV
. If there are no matches,
GroupVariableName
and
IndependentVariableName
are set to empty character
vectors ''
.
sets the grpData
= groupedData(tbl
,groupVarName
)GroupVariableName
property of the
grpData
object to groupVarName
. The
IndependentVariableName
property is implicitly set as in
the previous syntax.
additionally sets the grpData
= groupedData(tbl
,groupVarName
,independentVarName
)IndependentVariableName
property of the
grpData
object to
independentVarName
.
The groupedData
object supports most of the functions of table
and provides the following additional functions.
createDoses | Create dose objects from groupedData object |
groupedData2table | Convert groupedData object to table |
The groupedData
object does not support these table functions:
addprop
and rmprop
.
sbiofit
| sbiofitmixed
| table