Skip to content

actxps v1.4.0

Compare
Choose a tag to compare
@mattheaphy mattheaphy released this 26 Nov 15:48
  • actxps now supports split exposures that divide calendar periods crossing policy anniversaries into pre-anniversary and post-anniversary records. The function expose_split() can convert any exposed_df object with calendar period exposures (yearly, quarterly, monthly, or weekly) into a split_exposed_df object. Split exposure data frames contain columns for exposures both on a calendar period and policy year basis.
  • exp_stats() and exp_shiny() now require clarification as to which exposure basis should be used when passed a split_exposed_df object.
  • All expose_df objects now contains a default_status attribute.
  • autotable() functions now contain the arguments decimals_amt and suffix_amt. The former allows one to specify the number of decimals appearing after amount columns. The latter is used to automatically scale large numbers into by thousands, millions, billions, or trillions.
  • Corrected an error in the calculation of the standard deviations of claims when exp_stats() is passed a weighting variable.
  • Added a summary() method for exposed_df objects that calls exp_stats().
  • The assumed default status in expose() functions was changed from the first observed status to the most common status.
  • The functions as_exp_df() and as_trx_df() were added to convert pre-aggregated experience studies to the exp_df and trx_df formats, respectively.
  • agg_sim_dat - a new simulated data set of pre-aggregated experience was added for testing as_exp_df() and as_trx_df().
  • is_exp_df() and as_trx_df() were added to test for the exp_df and trx_df classes.