dh.predictLmer | R Documentation |
Currently there is no predict
method for lmer models within DataSHIELD.
This function replicates this, by calculating predicted values for fixed
effects based on the model coefficients. Standard errors are returned for
individual cohorts but yet for pooled models.
dh.predictLmer(model = NULL, new_data = NULL, coh_names = NULL)
model |
Model object returned by ds.lmerSLMA. |
new_data |
Tibble or data frame containing values for variables in
|
coh_names |
Please specify 'conns' instead.
Vector of cohort names. These must be in the order that
cohorts were specified in |
Tibble of predicted outcome values based on values provided in
new_data
.
Other trajectory functions:
dh.lmeMultPoly()
,
dh.makeAgePolys()
,
dh.makeLmerForm()
,
dh.trimPredData()
,
dh.zByGroup()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.