Learn R Programming

fundManageR (version 0.5.0110)

calculate_cash_flow_waterfall_partnership: Calculate partership's waterfall and cash flow splits given a set of parameters

Description

Calculate partership's waterfall and cash flow splits given a set of parameters

Usage

calculate_cash_flow_waterfall_partnership(dates = c("2016-09-01", "2017-08-31"), cash_flows = c(-1500000, 1.05e+08), working_capital = 2e+05, promote_structure = c("20 over 12", "30 over 20", "50 over 3.5x", "100 over 10x"), assign_to_environment = T, general_partner_pct = 0.05, gp_promote_share = 1, unnest_data = F, exclude_partnership_total = F, distribution_frequency = NA, is_actual_360 = T, widen_promote_structure = F, bind_to_cf = F, remove_zero_cols = T, widen_waterfall = F)

Arguments

dates
A vector of dates in year-month-day format
cash_flows
A vector of cash flows
working_capital
Amount of working capital
promote_structure
Vector of structures
general_partner_pct
Percentage of capital provided by GP
gp_promote_share
Share of promote to GP
unnest_data
Unnest final results
exclude_partnership_total
Exclude total column
is_actual_360
Is interest calculated on actual/360 method
bind_to_cf
Bind results to data frame
remove_zero_cols
remove zeroed columns
widen_waterfall
Return waterfall in wide form

Examples

Run this code
calculate_cash_flow_waterfall_partnership(dates =c("2016-09-01", "2017-08-31"), cash_flows = c(-1500000, 105000000), working_capital = 200000, promote_structure = c("20 over 12", "30 over 20", "50 over 3.5x", "100 over 10x"), general_partner_pct = .05, gp_promote_share = 1, unnest_data = F, exclude_partnership_total = F, distribution_frequency = 'annually', is_actual_360 = T, widen_promote_structure = F, bind_to_cf = F, remove_zero_cols = T, widen_waterfall = F)

Run the code above in your browser using DataLab