Test if a ‘merMod’ Object Has Current Representation
isNewMerMod.RdisNewMerMod tests if a merMod object has
the latest representation (in other words, if the object could have
been generated using the current version of lme4). The
representation of a merMod object was last changed in
lme4 version 2.0-0.
forceNewMerMod updates a merMod object so
that it has the latest representation. It is useful in code that
might handle objects generated by old versions of lme4.
anyStructured tests if a merMod object
specifies random effects with structured covariance matrices.
Arguments
- object, reference
merModobjects.
Value
isNewMerMod and anyStructured return TRUE or
FALSE.
forceNewMerMod returns the argument if it is “current”
and a modified copy of the argument otherwise.
See also
Virtual class Covariance.