| plot.scar | R Documentation |
This function takes a fitted scar object produced
by scar and plots the component functions that make it
up, on the scale of the additive predictors.
## S3 method for class 'scar' plot(x, whichplot = 1:d, addp = TRUE, ...)
x |
A fitted |
whichplot |
A numeric vector indicates the required plots. |
addp |
A |
... |
Other arguments passed to |
A plot is produced for each additive component in the fitted scar
object. Each function is plotted in the range of the observed covariates,
with the identifiability condition satisfied (see Details of scar).
It can be invoked by calling "plot(x)" for an object x of the
scar class, or directly by calling "plot.scar(x)" regardless
of the class of the object.
Yining Chen and Richard Samworth
scar, predict.scar, plot.scair
## See examples for the function scar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.