summary.portfolio: Summarize the portfolio parameters, and compute some metrics...

Description Usage Arguments Value Examples

View source: R/portfolio.R

Description

Summarize the portfolio parameters, and compute some metrics for the portfolio

Usage

1
2
## S3 method for class 'portfolio'
summary(object, ...)

Arguments

object

The portfolio to calculate metrics for.

...

Objects to be passed to subsequent methods, if they existed.

Value

An object of class summary.portfolio containing layer parameters, mean, standard deviation, VaR and tVaR (AEP).

Examples

1
2
3
4
5
layer1 <- layer(100000, 100000, 1, "yelt_test", lobs="PHYSICIANS")
layer2 <- layer(100000, 200000, 1, "yelt_test", lobs="PHYSICIANS")
layer3 <- layer(100000, 300000, 1, "yelt_test", lobs="PHYSICIANS")
P <- portfolio(layer1, layer2, layer3)
summary(P)

jfkingiii/layers documentation built on July 21, 2020, 8:57 p.m.