plot.smooth.tramME | R Documentation |
Plot smooth terms of a tramME model.
## S3 method for class 'smooth.tramME'
plot(
x,
which = seq_along(x),
col = 1,
fill = grey(0.5, 0.25),
trafo = I,
add = FALSE,
...
)
x |
A |
which |
Select terms to be printed by their indices |
col |
Line color for the point estimates. |
fill |
Fill color for the confidence intervals. |
trafo |
Monotonic transformation to be applied on the smooth terms |
add |
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.