- data_frame
A data frame object that at minimum contains three
variables:
cluster - a character type variable used to specify how observations
are nested or grouped by a particular cluster. Note if using a
least-squares model, please fill in cluster values with a single repetitive
dummy variable (e.g., '1'), do not leave blank.
time - a numeric type variable used for measuring time such as
minutes, hours, or days
growth_metric - a numeric type variable used for measuring growth
over time such as cell count or confluency
- function_type
A character string specifying the function for
modeling the shape of the growth. Options include "exponential", "linear",
"logistic", or "gompertz".
- model_type
A character string specifying the type of regression
model to be used. If 'mixed', a mixed-effects regression model will be used
with fixed and random-effects to account for clustering. For
'least-squares', a least-squares regression model with only fixed-effects
is applied. Defaults to "mixed".
- fixed_rate
A logical value specifying whether the rate constant
of the function should be treated as a fixed effect (TRUE) or random
effect (FALSE). Defaults to TRUE
- num_chains
A numeric value specifying the number of chains to run
in parallel in the MCMC algorithm of saemix. Increasing the number of chains
may improve convergence but may also increase the computational time.
Defaults to 1.
- time_unit
A character string specifying the units in which time is
measured in. Defaults to "hours"
- return_summary
A logical value specifying whether to return the
growth_model_summary_list when TRUE (list object containing summarized data)
or the object model object when FALSE. Defaults to TRUE.
- seed
A numeric value specifying a seed number to reproduce the
random starting values sampled within the function. Defaults to NULL.
- verbose
A logical value specifying whether print statements will
print in the console. Defaults to TRUE.