insurance: Insurance Data

insuranceR Documentation

Insurance Data

Description

Dataset insurance is a part of dataset imported from insurance.csv in Kaggle "Medical Cost Personal Dataset". This data source material comes from Machine Learning with R by Brett Lantz book. It is simply come cleaned up and, it contains 1338 rows and 7 variables. These are:

Usage

data(insurance)

Format

a data frame with 1338 rows and 7 columns.

Details

  • charges - Individual medical costs billed by health insurance.

  • age - age of primary beneficiary.

  • sex - insurance contractor gender, female, male.

  • bmi - Body mass index, providing an understanding of body, weights that are relatively high or low relative to height, objective index of body weight (kg / m ^ 2) using the ratio of height to weight, ideally 18.5 to 24.9.

  • children - Number of children covered by health insurance / Number of dependents.

  • smoker - Smoking.

  • region - the beneficiary's residential area in the US, northeast, southeast, southwest, northwest.

Source: https://www.kaggle.com/mirichoi0218/insurance

Source

The insurance.csv dataset was downloaded from the Kaggle site. The dataset was obtained from https://www.kaggle.com/mirichoi0218/insurance on May 11, 2021.


sunsmiling/PPtreeregViz documentation built on Oct. 12, 2023, 11:15 a.m.