powered by
Calculates the score residuals of an intercept term fixed at 0.
# S3 method for tramME residuals( object, param = c(coef(object, with_baseline = TRUE, fixed = FALSE), varcov(object, as.theta = TRUE)), newdata = NULL, ... )
A tramME object.
tramME
An optional vector of parameter values in the structure (beta, theta).
An optional data.frame.
Optional arguments (currently ignored).
# NOT RUN { library("survival") fit <- SurvregME(Surv(time, status) ~ rx + (1 | litter), data = rats) resid(fit) # }
Run the code above in your browser using DataLab