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 customer
  • rating: Customer’s credit rating; higher values indicate a better credit rating
  • cards: Number of credit cards the customer has
  • age: Customer’s age
  • education: Number of years of education

Preview

# A tibble: 6 x 7
  balance income limit rating cards   age education
    <dbl>  <dbl> <dbl>  <dbl> <dbl> <dbl>     <dbl>
1     333   14.9  3606    283     2    34        11
2     903  106.   6645    483     3    82        15
3     580  105.   7075    514     4    71        11
4     964  149.   9504    681     3    36        11
5     331   55.9  4897    357     2    68        16
6    1151   80.2  8047    569     4    77        10

References

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