Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/terms.mixmeta.R
These method function returns the terms object that defines meta-analytical models represented in objects of class "mixmeta"
.
1 2 |
x |
an object of class |
type |
the type of terms. Either |
... |
further arguments passed to or from other methods. |
The terms
object is produced by mixmeta
when fitting the meta-analytical model, and stored as an attribute of the model.frame
. Note that this object consists of terms for both the fixed and random-effects parts, the latter including also the grouping factors.
By using the default type="fixed"
, this method function removes the random-effects terms. This can then be used, for instance, for creating the model.matrix
for the fixed effects. Otherwise with type="full"
, the full set of terms is returned.
An object of class c("terms","formula")
which contains the terms representation of a symbolic meta-analytical model. See terms.object
for its structure.
Antonio Gasparrini <antonio.gasparrini@lshtm.ac.uk>
See the methods model.frame
and model.matrix
.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.