Learn R Programming

densityratio (version 0.2.1)

insurance: insurance

Description

Insurance data that is openly available (e.g., on Kaggle).

Arguments

Format

A data.frame with 1338 rows and 7 columns:

age

Age of the insured (continuous)

sex

Sex of the insured (binary)

bmi

Body mass index of the insured (continuous)

children

Number of children/dependents covered by the insurance (integer)

smoker

Whether the insured is a smoker (binary)

region

The region in which the insured lives (categorical)

charges

The medical costs billed by the insurance (continuous)