dodata {CarbUtils} | R Documentation |
Takes as input both aggregated and individual animal data sets,
expands any aggregated dataset using PhonyDF()
,and combines it
with any individual data set.
dodata(data=NULL, sdata=NULL)
data |
data frame with aggregated data (see Details). |
sdata |
data frame with individual data (see Details). |
dodata()
sets up a data set for analysis using tcmfn2
and related models from aggregated or
individual data sets, or a combination of both. Aggregated
data sets must
have the following variables:
Individual data sets lack the variables SD
and N
, but
may have a variable SUBJECT
, if repeated measures is to be explicitly
considered for that data set. MRIDs should differ between aggregated and
individual data sets.
dodata
goes through the following steps when invoked:
Combined data set with variables:
comp1 |
Description of 'comp1' |
comp2 |
Description of 'comp2' |
...
R. Woodrow Setzer