powered by
Plot smooth terms of a tramME model.
# S3 method for smooth.tramME plot( x, which = seq_along(x), col = 1, fill = grey(0.5, 0.25), trafo = I, add = FALSE, ... )
A smooth.tramME object.
smooth.tramME
Select terms to be printed by their indices
Line color for the point estimates.
Fill color for the confidence intervals.
Monotonic transformation to be applied on the smooth terms
Add the plot to an existing figure.
Optional parameters passed to the plotting functions.
data("mcycle", package = "MASS") fit <- LmME(accel ~ s(times), data = mcycle) plot(smooth_terms(fit, as.lm = TRUE))
Run the code above in your browser using DataLab