credit.csv

Published

July 28, 2022


The data in credit.csv contains simulated credit card data for 400 individuals. These data are from James et al. (). The variables in the data set are:


Preview

Code
# Import data
credit = readr::read_csv(file = "https://raw.githubusercontent.com/zief0002/pensive-giraffe/main/data/credit.csv")

# View data
credit
ABCDEFGHIJ0123456789
balance
<dbl>
income
<dbl>
limit
<dbl>
rating
<dbl>
cards
<dbl>
age
<dbl>
education
<dbl>
33314.891360628323411
903106.025664548338215
580104.593707551447111
964148.924950468133611
33155.882489735726816
115180.180804756947710
20320.996338825923712
87271.40871145122879
27915.125330026656613
135071.061681949134119


References

James, G., Witten, D., Hastie, T., & Tibshirani, R. (2013). An introduction to statistical learning: With applications in R. Springer.