Description Usage Arguments Value See Also Examples
This class associates a vector of numeric values with a list of currencies.
This can be useful for example to store value of cash flows. Internally it
represents this information as an extension to a tibble.
You are able to bind MultiCurrencyMoney objects by using rbind() (see
example below).
1 | MultiCurrencyMoney(monies)
|
monies |
a list of SingleCurrencyMoney |
a MultiCurrencyMoney object that extends tibble::tibble()
Other money functions: CashFlow,
SingleCurrencyMoney,
is.CashFlow,
is.MultiCurrencyMoney,
is.SingleCurrencyMoney
1 2 3 4 5 | mcm <- MultiCurrencyMoney(list(
SingleCurrencyMoney(1, AUD()),
SingleCurrencyMoney(2, USD())
))
rbind(mcm, mcm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.