Learn R Programming

WH (version 1.1.2)

print.WH_2d: Print Method for a Whittaker-Henderson Fit

Description

Print Method for a Whittaker-Henderson Fit

Usage

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

Value

Invisibly returns x.

Arguments

x

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

...

Not used

Examples

Run this code
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)

Run the code above in your browser using DataLab