coef | R Documentation |
It extracts the parameter estimates from objects of various classes.
## S3 method for class 'tssem1FEM'
coef(object, ...)
## S3 method for class 'tssem1FEM.cluster'
coef(object, ...)
## S3 method for class 'tssem1REM'
coef(object, select = c("all", "fixed", "random"), ...)
## S3 method for class 'wls'
coef(object, ...)
## S3 method for class 'wls.cluster'
coef(object, ...)
## S3 method for class 'meta'
coef(object, select = c("all", "fixed", "random"), ...)
## S3 method for class 'meta3LFIML'
coef(object, select = c("all", "fixed", "random", "allX"), ...)
## S3 method for class 'reml'
coef(object, ...)
## S3 method for class 'osmasem'
coef(object, select=c("fixed", "all", "random"), ...)
## S3 method for class 'osmasem2'
coef(object, select=c("fixed", "all", "random"), ...)
## S3 method for class 'mxsem'
coef(object, ...)
object |
An object returned from either class
|
select |
Select |
... |
Further arguments; currently none is used |
Parameter estimates for both fixed-effects (if any) and random-effects (if any)
coef.sem
is simply a wraper of
omxGetParameters
. Extra arguments will be passed to it
Mike W.-L. Cheung <mikewlcheung@nus.edu.sg>
tssem1
, wls
,
meta
, reml
,
omxGetParameters
, osmasem
## Random-effects meta-analysis
model1 <- meta(y=yi, v=vi, data=Hox02)
coef(model1)
## Fixed-effects only
coef(model1, select="fixed")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.