fmbasics (version 0.3.0)

CashFlow: Create a CashFlow

Description

This allows you to create a CashFlow object.

Usage

CashFlow(dates, monies)

Arguments

dates

a Date vector with either the same length as monies or a vector of length one that is recycled

monies

Value

a CashFlow object that extends tibble::tibble()

See Also

Other money functions: MultiCurrencyMoney, SingleCurrencyMoney, is.CashFlow, is.MultiCurrencyMoney, is.SingleCurrencyMoney

Examples

Run this code
# NOT RUN {
CashFlow(as.Date("2017-11-15"),
  MultiCurrencyMoney(list(SingleCurrencyMoney(1, AUD())))
)
# }

Run the code above in your browser using DataLab