Skip to content
Prev 10203 / 20628 Next

Application of coxme

Dear All
I am trying to use the coxme function to compare survival among 6 experimental 
groups.
I have a fixed factor (group), a random factor (brood), and a censoring 
variable (0 = still alive;
1 = dead). My response variable is the age of the dead individual or of the 
individual still
alive at the end of the experiment.
I have tried to use this function:

coxme (Surv(time,status) ~ group, random=~1|nest, data=females)

Time would be the age, while status is the censoring variable.
R gives me an output and says that the random argument of coxme is 
depreciated.
I wonder if anyone of you may let me know if this function is correct and why
the random factor is depreciated. 

Cheers
David
variance
variation
blocks
a
has
returning
get