BaseContract | R Documentation |
BaseContract
Constructor method for classes of type BaseContract representing cash flows. The class contains the fields 'Dates' and 'CashFlows', representing the dates, as well as values of the cash flows.
BaseContract(Dates, CashFlows, ...)
Dates |
a character vector representing dates. |
CashFlows |
a numeric vector representing cash flow values |
a contract type of class BaseContract.
bc <- BaseContract(Dates = c("2019-12-31","2020-12-31"),
CashFlows = c(-90,100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.