View source: R/lme-mult-poly.R
dh.lmeMultPoly | R Documentation |
This function enables you to fit multiple models with different combinations of polynomial terms and compares the fit.
dh.lmeMultPoly(
df = NULL,
formulae = NULL,
poly_names = NULL,
conns = NULL,
checks = TRUE
)
df |
Character specifying a server-side data frame. |
formulae |
Character vector containing model formulae to fit. |
poly_names |
Character vector of names for the models specified in
|
conns |
DataSHIELD connections object. |
checks |
Logical; if TRUE checks are performed prior to running the function. Default is TRUE. |
List containing three elements:
models = List of objects returned by ds.lmerSLMA for each model fitted.
convergence = Tibble providing information on convergence problems or error for each model fitted.
fit = Tibble with columns containing negative loglikehood statistic for each cohort and rows for each model fitted. An additional column provides the sum of the loglikelihoods across cohorts.
Other trajectory functions:
dh.makeAgePolys()
,
dh.makeLmerForm()
,
dh.predictLmer()
,
dh.trimPredData()
,
dh.zByGroup()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.