| styles_breach_counts | R Documentation |
This helper aggregates, for a set of styles, the number of periods in which bullet-debt credit metrics breach simple covenant guardrails:
DSCR < min_dscr_guard,
forward LTV > max_ltv_guard.
styles_breach_counts(
styles = c("core", "core_plus", "value_added", "opportunistic"),
min_dscr_guard = 1.2,
max_ltv_guard = 0.65
)
styles |
Character vector of style names (e.g. |
min_dscr_guard |
Numeric scalar, DSCR guardrail below which a period is counted as a DSCR breach. |
max_ltv_guard |
Numeric scalar, forward-LTV guardrail above which a period is counted as an LTV breach. |
It relies on style_bullet_ratios(), which is expected to return, for each
style, a tibble of yearly ratios in the bullet-debt scenario with at least
the columns: style, year, dscr, ltv_forward.
A tibble with one row per style and the columns:
style (factor, levels = styles),
n_dscr_breach: number of years with dscr < min_dscr_guard,
n_ltv_breach: number of years with ltv_forward > max_ltv_guard.
Year 0 is excluded from the counts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.