Man pages for RobinL/costmodelr
Build cost models in R from lists of assumptions, with rigorous unit tests

add_key_dates_categorisationsAdd columns to cost model categorising line items by the...
add_oneoff_costsAdd assumptions about oneoff costs to the cost model
add_recurring_costAdd assumptions about recurring costs to the cost model
add_staff_utilisationAdd assumptions about staff utilistion to the cost model
add_user_variable_costsAdd assumptions about recurring costs to the cost model
apply_absolute_increase_to_df_colTake a df with a date col, and apply a constant rate of...
apply_percentage_growth_multiplier_to_df_colTake a df with a date col, and generate a multiplier...
check_date_compatibilityCheck that two dataframes span the same range of dates
constant_growth_interpolationTake a vector and interpolate over the NAs with constant...
convert_excel_dates_in_dfTake a df with date information, and if there is data...
create_cost_modelCreate the cost model, a list that stores the various...
create_id_columnCreate a id column, which is unique per ro
date_to_addition_absolute_increaseConvert a date into an increase in cost, where costs are...
date_to_multiplier_percentage_growthConvert a date into a multiplier for costs, where costs are...
expand_staff_utilisation_to_time_horizonIf staff utilisation is provided for a time horizon shorter...
expand_to_time_horizonGiven a dataframe, expand the time horizon out to the minimum...
get_all_datesTake a dataframe with a date column, and return an ordered...
get_cumulative_costsDerives cumulative costs, for plotting
get_min_max_datesGet the minimum and maximum dates from two dataframes for...
get_oneoff_cost_chunkModel oneoff costs from an assumptions row, outputting a...
get_oneoff_cost_idGet oneoff costs id For other modules, each input assumption...
get_recurring_cost_chunkModel recurring costs from an assumptions list
get_user_variable_costs_chunkTake an assumptions list, a table of the number of users, and...
get_user_variable_costs_idGet a data frame consisting of a single row with the...
get_xrGet the current exchange rate
grapes-greater-than-grapes-hash-single-quoteCreate a dataframe with a row for each day of the dates in...
grapes-less-than-greater-than-grapesEnsure internval availability of magrittr to package
interpolate_daysTake a datafrome created by 'get_all_dates_df' and...
interpolate_days_characterTake a datafrome created by 'get_all_dates_df' and...
interpolate_days_numericTake a datafrome created by 'get_all_dates_df' and...
kd_all_dates_daysGet all dates
kd_maxMax of key dates
kd_minMin of key dates
pipePipe graphics
posixt_cols_to_dateConvert all datatime (posixt) columns to be dates in a...
process_oneoff_costsThis function is called when the cost model is run.
process_user_variable_costsGiven a cost model, create the chunks corresponding to user...
remove_named_cols_from_dfRemoved named columns from a dataframe
run_cost_modelRun the cost model, by iterating through all the registered...
setting_append_to_categorisation_columnsAdd to the current categorisation columns. These enable the...
setting_categorisation_columnsOverwrite the default categorisation columns. These enable...
setting_deflator_base_dateSet the base date for the deflator (the date for which the...
shiny_bubbleA Shiny app that enables the user to explore the cost model
shiny_visA Shiny app that enables the user to explore the cost model
stop_duplicated_datesCheck that there aren't any duplicated dates
stop_expected_fieldsStop if the list provided does not contains all the expected...
stop_if_nonnumericStop data processing if df contains non-numeric data
stop_if_not_dateStop data processing if the date column is not of type Date
RobinL/costmodelr documentation built on May 9, 2019, 10:30 a.m.