mkNewReTrms | R Documentation |
Utility function to make RE terms objects
mkNewReTrms(
object,
newdata,
re.form = NULL,
na.action = na.pass,
allow.new.levels = FALSE
)
object |
a model object |
newdata |
a data.frame to build RE terms for |
re.form |
a random effect formula to simulate, generated by
|
na.action |
an object describing how NA values should be handled in newdata |
allow.new.levels |
logical, should new levels be allowed in factor variables |
a random effect terms object for a merMod
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.