View source: R/gam_riskfactor.R
| fit_gam | R Documentation |
risk_factor_gam()fit_gam() is deprecated as of version 0.8.0.
Please use risk_factor_gam() instead.
In addition, note that column arguments must now be passed as strings (standard evaluation).
fit_gam(
data,
nclaims,
x,
exposure,
amount = NULL,
pure_premium = NULL,
model = "frequency",
round_x = NULL
)
data |
A data.frame containing the insurance portfolio. |
nclaims |
Deprecated NSE argument for claim counts. |
x |
Deprecated NSE argument for the continuous risk factor. |
exposure |
Character, name of column in |
amount |
Deprecated NSE argument for claim amounts. |
pure_premium |
(Optional) Character, column name in |
model |
Character string specifying the model type. One of
|
round_x |
Deprecated. Use |
See risk_factor_gam().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.