Constructing a Participation
participation
is the constructor
for the S3 class participation. It allows to build
for a participation position.
participation(currency, value)
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 |
an S3 object, instance of the class participation.
Please note that combined with a portfolio, the participation should be provided in the base currency.
# Creating new participations. participation1 <- participation("USD", 1000) participation2 <- participation("EUR", 2000)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.