Plot additive index components of a "scair" object

Share:

Description

This function takes a fitted scair object produced by scair and plots the component functions of the additive indices that make it up, on the scale of the additive index predictors.

Usage

1
2
## S3 method for class 'scair'
plot(x, whichplot = 1:m, addp = TRUE, ...)

Arguments

x

A fitted scair object produced by scair.

whichplot

A numeric vector indicates the required plots.

addp

A logical scalar that indicates whether the data points should be plotted as circles on the fitted curves of each component.

...

Other arguments passed to plot.

Details

A plot is produced for each additive index component function in the fitted scair object. Each function is plotted in the range of the observed indices, with the identifiability condition satisfied (see Details of scar and scair).

Author(s)

Yining Chen and Richard Samworth

See Also

scair, predict.scair, plot.scar

Examples

1
## See examples for the function scair