is_valid_compounding: Compounding frequencies

Description Usage Arguments Details Value

View source: R/interest-rate-classes.R

Description

A non-exported function that checks whether compounding values frequencies are supported.

Usage

1

Arguments

compounding

a numeric vector representing the compounding frequency

Details

Valid compounding values are:

Value Frequency
-1 Simply, T-bill discounting
0 Simply
1 Annually
2 Semi-annually
3 Tri-annually
4 Quarterly
6 Bi-monthly
12 Monthly
24 Fortnightly
52 Weekly
365 Daily
Inf Continuously

Value

a flag (TRUE or FALSE) if all the supplied compounding frequencies are supported.


imanuelcostigan/fmbasics documentation built on Dec. 6, 2019, 9:48 a.m.