| Credit | R Documentation |
A simulated data set containing information on 400 customers.
Credit
A data frame with 400 observations on a number of variables.
IncomeIncome in $1,000's
LimitCredit limit
RatingCredit rating
CardsNumber of credit cards
AgeAge in years
EducationEducation in years
OwnA factor with levels No and Yes indicating whether the individual owns a home
StudentA factor with levels No and Yes
indicating whether the individual is a student
MarriedA factor with levels No and Yes
indicating whether the individual is married
RegionA factor with levels East, South, and West
indicating the individual's geographical location
BalanceAverage credit card balance in $.
Simulated data. Many thanks to Albert Kim for helpful suggestions, and for supplying a draft of the man documentation page on Oct 19, 2017.
James, G., Witten, D., Hastie, T., and Tibshirani, R. (2021) An Introduction to Statistical Learning with applications in R, Second Edition, https://www.statlearning.com, Springer-Verlag, New York
summary(Credit) lm(Balance ~ Student + Limit, data=Credit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.