Learn R Programming

sstModel (version 1.0.0)

summary.scenarioRisk: Summarizing a ScenarioRisk

Description

summary method for the S3 class scenarioRisk.

Usage

# S3 method for scenarioRisk
summary(object, ...)

Arguments

object

S3 object of class scenarioRisk.

...

additional arguments.

Value

an S3 object, instance of class c("summaryDefault", "table").

See Also

summary, scenarioRisk.

Examples

Run this code
# NOT RUN {
# Creating a new scenarioRisk.
scenarios <- scenarioRisk(name          = c("earthquake",
                                            "real estate crash"),
                          probability   = c(0.001, 0.01),
                          currency      = c("CHF", "CHF"),
                          effect        = c(1000, 10000))
# summarizing the scenarioRisk.
summary(scenarios)

# }

Run the code above in your browser using DataLab