Defining random effects in survPen formulae
Used inside a formula object to define a random effect.
rd(...)
... |
Any number of covariates separated by "," |
object of class rd.smooth.spec
# cubic regression spline of time with 10 unspecified knots + random effect at the cluster level formula.test <- ~smf(time,df=10) + rd(cluster)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.