Releases: MHaringa/insurancerating
Releases · MHaringa/insurancerating
v0.7.3
autoplot.univariate()
now generates a plot even when there are missing values in the rows
rating_factors()
now always returns the correct coefficients when used on a 'refitsmooth' or 'refitrestricted' class of GLM
v0.7.2
update_glm()
now always returns the correct interval in case the function is used in combination with smooth_coef()
v0.7.1
rotate_angle
in autoplot.univariate()
is added to rotate x-labels
univariate()
now accepts external vectors for x
; vec_ext()
must be used
v0.7.0
smooth_coef()
now gives correct results for intervals with scientific notation
reduce()
now returns no errors anymore for columns with dates in POSIXt format
v0.6.9
refit_glm()
is renamed to update_glm()
construct_model_points()
and model_data()
are added to create model points
v0.6.8
show_total
in autoplot.univariate()
is added to add line for total of groups in case by
is used in univariate()
; total_color
can be used to change the color of the line, and total_name
is added to change the name of the legend for the line
rating_factors()
now accepts GLMs with an intercept only
fit_truncated_dist()
is added to fit the original distribution (gamma, lognormal) from truncated severity data
join_to_nearest()
now returns NA in case NA is used as input
v0.6.7
smooth_coef()
now returns an error message when intervals are not obtained by cut()
get_data()
is added to return the data used in refit_glm()
v0.6.6
summary.reduce()
now gives correct aggregation for periods "months" and "quarters"
rows_per_date()
is added to determine active portfolio for a certain date
v0.6.5
smooth_coef()
and restrict_coef()
are added for model refinement
histbin()
now uses darkblue as default fill color
v0.6.4
- In
summary.reduce()
, name
can be used to change the name of the new column in the output.
- Dataset
MTPL
now contains extra columns for power
, bm
, and zip
.
- Some functions in
insight
are renamed, therefore insight::format_table()
is replaced with insight::export_table()
.