In this presentation, we will be exploring an insurance data set.
## age sex bmi children smoker region charges ## 1 19 female 27.900 0 yes southwest 16884.924 ## 2 18 male 33.770 1 no southeast 1725.552 ## 3 28 male 33.000 3 no southeast 4449.462 ## 4 33 male 22.705 0 no northwest 21984.471 ## 5 32 male 28.880 0 no northwest 3866.855 ## 6 31 female 25.740 0 no southeast 3756.622
## 'data.frame': 1338 obs. of 7 variables: ## $ age : int 19 18 28 33 32 31 46 37 37 60 ... ## $ sex : chr "female" "male" "male" "male" ... ## $ bmi : num 27.9 33.8 33 22.7 28.9 ... ## $ children: int 0 1 3 0 0 0 1 3 2 0 ... ## $ smoker : chr "yes" "no" "no" "no" ... ## $ region : chr "southwest" "southeast" "southeast" "northwest" ... ## $ charges : num 16885 1726 4449 21984 3867 ...