| term-conversion | R Documentation |
toyears, tomonths and todays functions convert Term objects according
to Daycount.
toyears(x, t)
tomonths(x, t)
todays(x, t)
x |
a Daycount object. |
t |
a Term object. |
toyears returns the given Term in years units.
tomonths returns the given Term in months units.
todays returns the given Term in days units.
A Term object converted to the units accordingly the used function.
dc <- daycount("actual/360")
t <- term(10, "months")
toyears(dc, t)
tomonths(dc, t)
todays(dc, t)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.