powered by
participation is the constructor for the S3 class participation. It allows to build for a participation position.
participation
participation(currency, value)
character value of length one. The currency in which the participation is expressed.
positive numeric value of length one. The total value of the participation. This must be expressed in the same currency as currency.
currency
an S3 object, instance of the class participation.
summary.participation, print.participation.
summary.participation
print.participation
# NOT RUN { # Creating new participations. participation1 <- participation("USD", 1000) participation2 <- participation("EUR", 2000) # }
Run the code above in your browser using DataLab