This method function extracts the grouping factor associated with
object, if any is present.
Usage
getGroups(object, form, data, level)
Arguments
Value
if a grouping factor is present in the correlation structure
represented by object, the function returns the corresponding
factor vector; else the function returns NULL.