groupedData
Table-like collection of data and metadata for fitting in SimBiology
Description
The groupedData object is the required data format to
store data needed for fitting using fitproblem,
sbiofit, and sbiofitmixed. It is a table-like object with a few differences.
The
groupedDataobject has two additional properties to identify the independent variable and an optional grouping variable.The
groupedDataobject has additional methods that let you create doses and variants from data set and convert agroupedDataobject to a table.groupedData.Propertiesis a structure.
Creation
Syntax
Description
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.
Input Arguments
Output Arguments
Properties
Object Functions
The groupedData object supports many functions of table. However, it does not support the math operations that the table
supports, such as +, -, / ,
min, max, mean, and so on.
To see a list of math operations that the table supports, see here. The
groupedData object has the following additional functions.
createDoses | Create dose objects from groupedData object |
createVariants | Create variant objects from groupedData object |
groupedData2table | Convert groupedData object to table |
Examples
Version History
Introduced in R2014a