print.scenarioRisk: Printing a ScenarioRisk

Description Usage Arguments Value See Also Examples

View source: R/scenarioRisk-base.R

Description

print method for the S3 class scenarioRisk.

Usage

1
2
## S3 method for class 'scenarioRisk'
print(x, ...)

Arguments

x

S3 object of class scenarioRisk.

...

additional arguments.

Value

None (invisible NULL).

See Also

print, scenarioRisk.

Examples

1
2
3
4
5
6
7
8
# 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))
# printing the scenarioRisk.
print(scenarios)

sstModel documentation built on May 4, 2018, 1:04 a.m.