is_valid_compounding: Compounding frequencies

Description Usage Arguments Details Value

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.


fmbasics documentation built on May 2, 2019, 6:22 a.m.