print.WH_2d {WH}R Documentation

Print Method for a Whittaker-Henderson Fit

Description

Print Method for a Whittaker-Henderson Fit

Usage

## S3 method for class 'WH_2d'
print(x, ...)

Arguments

x

An object of class "WH_2d" returned by the WH_2d() function

...

Not used

Value

Invisibly returns x.

Examples

keep_age <- which(rowSums(portfolio_LTC$ec) > 5e2)
keep_duration <- which(colSums(portfolio_LTC$ec) > 1e3)

d  <- portfolio_LTC$d[keep_age, keep_duration]
ec <- portfolio_LTC$ec[keep_age, keep_duration]

WH_2d(d, ec)


[Package WH version 1.1.1 Index]