BaseContract: 'BaseContract'

BaseContractR Documentation

BaseContract

Description

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.

Usage

BaseContract(Dates, CashFlows, ...)

Arguments

Dates

a character vector representing dates.

CashFlows

a numeric vector representing cash flow values

Value

a contract type of class BaseContract.

Examples

bc <- BaseContract(Dates = c("2019-12-31","2020-12-31"),
                   CashFlows = c(-90,100))
                   

wbreymann/FEMS documentation built on May 6, 2024, 2:19 p.m.