| flag_covenants | R Documentation |
Adds logical indicator columns for covenant breaches based on three ratios: debt service coverage ratio (DSCR), forward loan-to-value ratio (LTV), and current debt yield.
flag_covenants(cf, cov)
cf |
A data.frame or tibble containing at least |
cov |
A list of covenant thresholds. Supported elements include:
|
The input table cf enriched with logical columns
cov_dscr_breach, cov_ltv_breach, and cov_dy_breach.
cf <- tibble::tibble(
year = 1:3,
dscr = c(1.40, 1.10, NA),
ltv_forward = c(0.60, 0.70, 0.64),
debt_yield_current = c(0.09, 0.07, 0.08)
)
cov <- list(dscr_min = 1.25, ltv_max = 0.65, debt_yield_min = 0.08)
flag_covenants(cf, cov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.