Description Usage Arguments Details Value See Also Examples
Generic function for extracting the random effects. This is the same generic (and same name) defined in the nlme and lme4 package.
1 2 3 4 5 6 7 8 9 10 11 12 | ranef(object, ...)
random.effects(object, ...)
## Default S3 method:
random.effects(object, ...)
## Default S3 method:
ranef(object, ...)
## S3 method for class 'ggmix_gic'
ranef(object, s = "lambda.min", ...)
|
object |
any fitted model object from which random effects estimates can
be extracted. Currently supports "ggmix_gic" objects outputted by the
|
... |
other parameters. currently ignored |
s |
Value(s) of the penalty parameter |
For objects of class "ggmix_gic", this function returns the subject-specific random effect value for the model which minimizes the GIC using the maximum a posteriori principle
a numeric vector of length equal to the number of observations of subject-specific random effects
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.