plot.smooth.tramME: Plot smooth terms of a tramME model.

View source: R/smooth.R

plot.smooth.tramMER Documentation

Plot smooth terms of a tramME model.

Description

Plot smooth terms of a tramME model.

Usage

## S3 method for class 'smooth.tramME'
plot(
  x,
  which = seq_along(x),
  col = 1,
  fill = grey(0.5, 0.25),
  trafo = I,
  add = FALSE,
  ...
)

Arguments

x

A smooth.tramME object.

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.

Examples

data("mcycle", package = "MASS")
fit <- LmME(accel ~ s(times), data = mcycle)
plot(smooth_terms(fit, as.lm = TRUE))

tramME documentation built on July 9, 2023, 7:10 p.m.