rate.convert: Converts an rate with a given frequency to aneffective rate...

Description Usage Arguments Examples

View source: R/rate.convert.R

Description

Converts an rate with a given frequency to aneffective rate for another frequence. Base=1 is yearly rate

Usage

1
rate.convert(rate = 0, frequency.input = 1, frequency.output = 12)

Arguments

rate

interest rate.

frequency.input

Frequency of input rate. 1=annual, 12=monthly.

frequency.output

Frequency of output rate. 1=annual, 12=monthly.

Examples

1
2
rate.convert(rate=0.00327374,frequency.input=12,frequency.output=1) #Monthly to annual Rate
rate.convert(rate=0.04,frequency.input=1,frequency.output=12) #Annual to monthly Rate

eaoestergaard/UNPIE documentation built on May 18, 2018, 10:16 a.m.