Learn R Programming

PPtreeregViz (version 2.0.5)

insurance: 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)

Arguments

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