Code
# Import data
= readr::read_csv(file = "https://raw.githubusercontent.com/zief0002/redesigned-adventure/main/data/credit.csv")
credit
# View data
credit
August 2, 2023
The data in credit.csv contains simulated credit card data for 400 individuals. These data are from James, Witten, Hastie, & Tibshirani (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