Description Usage Arguments Value
This funciton creates dataframes that are used by the predictY function in the lcmm package to plot hlme models
1 |
df |
dataframe create used to model the data. Should be created by lcmem_prep fucntion |
age_vars |
if only one age variable was used character string of that varaible name. If two or more age variables were used, character vector where each element is the name of the age varaible. The first element be the first order age term (ie. c("age_wk", "age_wk^2")) |
fixcov |
default is null. Named vector of nontime-dependent covariates included in the the model. The names of the entries corresponds to the name of the variable and the value of the entries corresponds to group that we would like to predict. |
a dataframe with age varaibles scaled and not scaled ("_ns"), and time-independent covariates to use for lcmm::predY function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.