object
, if any is present.
getGroups(object)
varFunc
,
representing a variance function structure.
object
has a
groups
attribute, its value is
returned; else
NULL
is returned.
vf1 <- varPower(form = ~ age | Sex) vf1 <- initialize(vf1, Orthodont) getGroups(vf1)