CashFlow {fmbasics}R Documentation

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

a MultiCurrencyMoney object

Value

a CashFlow object that extends tibble::tibble()

See Also

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

Examples

CashFlow(as.Date("2017-11-15"),
  MultiCurrencyMoney(list(SingleCurrencyMoney(1, AUD())))
)

[Package fmbasics version 0.3.0 Index]