plot.WH_1d {WH} | R Documentation |
Plot Method for a Whittaker-Henderson Fit
Description
Plot Method for a Whittaker-Henderson Fit
Usage
## S3 method for class 'WH_1d'
plot(x, what = "fit", trans, ...)
Arguments
x |
An object of class |
what |
What should be plotted. Should be one of |
trans |
An (optional) transformation to be applied to the data. By default the identity function |
... |
Not used |
Value
A plot representing the desired element from the fit
Examples
d <- portfolio_mort$d
ec <- portfolio_mort$ec
fit <- WH_1d(d, ec)
plot(fit)
plot(fit, "res")
plot(fit, "edf")
[Package WH version 1.1.1 Index]