credit.csv
The data in credit.csv contains simulated credit card data for 400 individuals. These data are from James et al. (2013). The variables in the data set are:
balance
: Customer’s average credit card balance (in dollars)income
: Customer’s reported income (in $10,000 dollars)limit
: Credit limit issued to customerrating
: Customer’s credit rating; higher values indicate a better credit ratingcards
: Number of credit cards the customer hasage
: Customer’s ageeducation
: Number of years of education
Preview
Code
# Import data
= readr::read_csv(file = "https://raw.githubusercontent.com/zief0002/pensive-giraffe/main/data/credit.csv")
credit
# View data
credit
balance <dbl> | income <dbl> | limit <dbl> | rating <dbl> | cards <dbl> | age <dbl> | education <dbl> |
---|---|---|---|---|---|---|
333 | 14.891 | 3606 | 283 | 2 | 34 | 11 |
903 | 106.025 | 6645 | 483 | 3 | 82 | 15 |
580 | 104.593 | 7075 | 514 | 4 | 71 | 11 |
964 | 148.924 | 9504 | 681 | 3 | 36 | 11 |
331 | 55.882 | 4897 | 357 | 2 | 68 | 16 |
1151 | 80.180 | 8047 | 569 | 4 | 77 | 10 |
203 | 20.996 | 3388 | 259 | 2 | 37 | 12 |
872 | 71.408 | 7114 | 512 | 2 | 87 | 9 |
279 | 15.125 | 3300 | 266 | 5 | 66 | 13 |
1350 | 71.061 | 6819 | 491 | 3 | 41 | 19 |