plot.fosr: Default plotting of function-on-scalar regression objects

View source: R/plot.fosr.R

plot.fosrR Documentation

Default plotting of function-on-scalar regression objects

Description

Plots the coefficient function estimates produced by fosr().

Usage

## S3 method for class 'fosr'
plot(
  x,
  split = NULL,
  titles = NULL,
  xlabel = "",
  ylabel = "Coefficient function",
  set.mfrow = TRUE,
  ...
)

Arguments

x

an object of class "fosr".

split

value, or vector of values, at which to divide the set of coefficient functions into groups, each plotted on a different scale. E.g., if set to 1, the first function is plotted on one scale, and all others on a different (common) scale. If NULL, all functions are plotted on the same scale.

titles

character vector of titles for the plots produced, e.g., names of the corresponding scalar predictors.

xlabel

label for the x-axes of the plots.

ylabel

label for the y-axes of the plots.

set.mfrow

logical value: if TRUE, the function will try to set an appropriate value of the mfrow parameter for the plots. Otherwise you may wish to set mfrow outside the function call.

...

graphical parameters (see par) for the plot.

Author(s)

Philip Reiss phil.reiss@nyumc.org

See Also

fosr, which includes examples.


refund documentation built on Sept. 21, 2024, 1:07 a.m.

Related to plot.fosr in refund...