trafo.tramME {tramME} | R Documentation |
For stratified models, it returns a list of data frames for each stratum.
## S3 method for class 'tramME' trafo( object, newdata = NULL, type = c("trafo", "distribution", "survivor", "cumhazard"), confidence = c("none", "interval", "band", "asymptotic"), level = 0.95, K = 50, ... )
object |
A fitted tramME object. |
newdata |
Values of the interacting terms to be used. |
type |
The scale on which the transformation function is evaluated. |
confidence |
Pointwise confidence interval or confidence band. |
level |
Confidence level. |
K |
Integer, number of points in the grid the function is evaluated on. |
... |
Additional parameters (for consistency with generic) |
Matrix or list of matrices containing the point estimates and the confidence intervals.
data("sleepstudy", package = "lme4") fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) tr <- trafo(fit, type = "distribution", confidence = "interval", K = 100)