plot.WH_2d {WH}R Documentation

Plot 2D WH fit

Description

Plot 2D WH fit

Usage

## S3 method for class 'WH_2d'
plot(x, what = "y_hat", trans, ...)

Arguments

x

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

what

What should be plotted (y_hat, std_y_hat, res, edf)

trans

An (optional) transformation to be applied to the data

...

Not used

Value

A plot representing the given element of the fit...

Examples

d  <- portfolio_LTC$d
ec <- portfolio_LTC$ec

WH(d, ec) |> plot()
WH(d, ec) |> plot("std_y_hat")


[Package WH version 2.0.0 Index]