Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

insurancerating (version 0.5.2)

univariate_exposure: Univariate exposure

Description

Exposure for discrete risk factors in an insurance portfolio.

Usage

univariate_exposure(df, x, exposure = exposure)

Arguments

df

data.frame with insurance portfolio

x

column in df with risk factor

exposure

column in df with exposure

Value

An list of class univ_lossratio with components

df

data frame with average premium

xvar

name of column in df with risk factor

exposure

name of column in df with exposure

Examples

Run this code
# NOT RUN {
univariate_exposure(MTPL2, area, exposure)
# }

Run the code above in your browser using DataLab