| styles_revalue_yield_plus_growth | R Documentation |
This helper re-runs a set of preset styles under a simplified
"yield_plus_growth" discounting convention, leaving all cash-flow
assumptions unchanged. It is primarily used in vignettes and tests to check
that the qualitative ordering of styles (in terms of equity IRR and NPV) is
robust to the choice of discounting scheme.
styles_revalue_yield_plus_growth(
styles,
config_dir = system.file("extdata", package = "cre.dcf")
)
styles |
Character vector of style identifiers, e.g.
|
config_dir |
Directory from which preset YAML files are loaded.
Defaults to the package |
For each style, the function:
loads the corresponding YAML preset file;
overrides disc_method <- "yield_plus_growth";
sets disc_rate_yield_plus_growth so that the property yield
equals entry_yield and the growth component equals
index_rate;
calls [run_case()] and extracts the leveraged equity IRR and NPV.
A tibble with one row per style and the columns:
style (character),
irr_equity_y: leveraged equity IRR under the
"yield_plus_growth" convention,
npv_equity_y: leveraged equity NPV under the same
convention.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.