Description Usage Arguments Author(s) References See Also Examples
View source: R/merlin_predict.R
predictions following the fit of a merlin model
1 2 3 4 5 6 7 8 9 10 11 |
object |
merlin model object |
stat |
specifies which prediction, which can be one of:
|
type |
the type of prediction, either:
|
predmodel |
specifies which model to obtain predictions from; default is |
causes |
is for use when calculating predictions from a competing risks |
at |
specify covariate values for prediction. Fixed values of covariates should be specified in a list e.g. at = c("trt" = 1, "age" = 50). |
contrast |
specifies the values of a covariate to be used when comparing statistics,
such as when using the |
... |
other options |
Emma C. Martin, Alessandro Gasparini and Michael J. Crowther
Crowther MJ. Extended multivariate generalised linear and non-linear mixed effects models. https://arxiv.org/abs/1710.02223
Crowther MJ. merlin - a unified framework for data analysis and methods development in Stata. https://arxiv.org/abs/1806.01615
Martin EC, Gasparini A, Crowther MJ. merlin - an R package for mixed effects regression of linear, non-linear and user-defined models.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.