daycount {fixedincome}R Documentation

Create Daycount class

Description

daycount creates a Daycount object. It accepts the following daycount rules: actual/365, actual/360, business/252.

Usage

daycount(x, ...)

Arguments

x

a character representing a daycount rule, like: business/252, actual/365, actual/360, ...

...

additional arguments. Currently unused.

Value

A Daycount object.

Examples

dc <- daycount("actual/360")

[Package fixedincome version 0.0.5 Index]