Actuarial Helpers for Triangles, Exposures and Czech Birth Numbers


[Up] [Top]

Documentation for package ‘vitopack’ version 0.1.1

Help Pages

bind_with_source Row-bind a list of data frames with a 'source' column
create_annual_triangle Re-aggregate a per-period triangle to an annual triangle
create_avg_coefs Average development factors from a CHL factor triangle
create_chl_coefs Volume-weighted chain-ladder development factors
create_chl_coefs_weighted Volume-weighted CHL factors with an explicit weight triangle
create_chl_coefs_weighted_future Volume-weighted CHL factors with weight at the _current_ column
create_chl_coef_triangle Element-wise chain-ladder development factor triangle
create_chl_trg_visualization Plotly visualisation of selected columns of a CHL triangle
create_chl_trg_visualization_pvzp PVZP-style plotly visualisation (string x-axis)
create_cumulative_triangle Cumulate a development triangle along columns
create_decumulative_triangle De-cumulate a cumulative development triangle
create_find_columns Add zero/value columns based on equality conditions
create_multiple_columns_m Multiply a set of columns by another column
create_policy_exposure_columns_m Build per-period exposure columns (in years)
create_policy_exposure_days_columns Build per-period exposure columns (in days)
create_product_coefs Cumulative product of chain-ladder factors (ultimate development)
create_run_off_check Run-off check across all diagonals
create_triangle Build a development triangle from row-level claims data
diag_reader Read values along a triangle diagonal
diag_sums Cumulative diagonal sums of a triangle
diag_writer Append the latest diagonal of a new triangle to an old one
get_colors Pick 'n' evenly spaced colors from a rainbow data frame
get_colors_duo Pick 'n' evenly spaced colors from a rainbow data frame
get_colors_plus Pick 'n' evenly spaced colors from a rainbow data frame
load_excel_sheets Load every sheet of an Excel '.xlsx' workbook into a named list
load_xlsb_sheets Load every sheet of a binary Excel '.xlsb' workbook into a named list
numeric_format Format a number with a thin space as the thousands separator
plot_color_bars Quick visual sanity check of a generated palette
rainbow_cat Print colored text to the console (rainbow cycle)
rc_to_birth_day Convert a Czech birth number to a date of birth
rc_to_birth_day_2 Convert a Czech birth number to a date of birth
rc_to_birth_day_3 Convert a Czech birth number to a date of birth
rgb_colors_for_plot Build a smooth RGB rainbow data frame
triangle_namer Rename a triangle's rows/columns for printing