styles_pv_split: Present-value split between income and resale by style

View source: R/utils.R

styles_pv_splitR Documentation

Present-value split between income and resale by style

Description

For each style preset, this helper:

  • runs run_case() under the all-equity scenario,

  • takes the cash-flow table used for the unlevered DCF,

  • discounts positive cash inflows at the DCF discount rate,

  • decomposes the resulting present value into:

    • income = free cash flow excluding resale proceeds,

    • resale = terminal sale proceeds.

Usage

styles_pv_split(
  styles,
  config_dir = system.file("extdata", package = "cre.dcf")
)

Arguments

styles

Character vector of style identifiers.

config_dir

Directory where preset YAML files are stored.

Details

Year 0 (initial outlay) is excluded from the income/resale split so that shares remain numerically stable and interpretable.

Value

A tibble with columns: style, pv_income, pv_resale, share_pv_income, share_pv_resale.


cre.dcf documentation built on April 10, 2026, 5:08 p.m.