coxme
.expand.nested(x)
coxme
variance family is
passed, as one of its arguments, a data frame G
containing
the grouping variables, each of which is a factor..
Assume a nested factor (1| a/b)
in the model formula and
a data set whose first few rows are:
a b
1 1
1 2
2 1
The function will replace the second column with a variable named
a/b
and values of 1/1, 1/2, 2/1, etc.coxme
, coxmeMlist