participation: Constructing a Participation

Description Usage Arguments Value Note See Also Examples

View source: R/participation-base.R

Description

participation is the constructor for the S3 class participation. It allows to build for a participation position.

Usage

1

Arguments

currency

character value of length one. The currency in which the participation is expressed.

value

positive numeric value of length one. The total value of the participation. This must be expressed in the same currency as currency.

Value

an S3 object, instance of the class participation.

Note

Please note that combined with a portfolio, the participation should be provided in the base currency.

See Also

summary.participation, print.participation.

Examples

1
2
3
# Creating new participations.
participation1 <- participation("USD", 1000)
participation2 <- participation("EUR", 2000)

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