plot.fpcr | R Documentation |
Inputs an object created by fpcr
, and plots the estimated
coefficient function.
## S3 method for class 'fpcr'
plot(
x,
se = TRUE,
col = 1,
lty = c(1, 2, 2),
xlab = "",
ylab = "Coefficient function",
...
)
x |
an object of class |
se |
if |
col |
color for the line(s). This should be either a number, or a vector of length 3 for the coefficient function estimate, lower bound, and upper bound, respectively. |
lty |
line type(s) for the coefficient function estimate, lower bound, and upper bound. |
xlab , ylab |
x- and y-axis labels. |
... |
other arguments passed to the underlying plotting function. |
None; only a plot is produced.
Philip Reiss phil.reiss@nyumc.org
Wood, S. N. (2006). Generalized Additive Models: An Introduction with R. Boca Raton, FL: Chapman & Hall.
fpcr
, which includes an example.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.