risk: Risk data set

riskR Documentation

Risk data set


The risk dataset containing 6 features and 246 records. The target feature is risk, a factor with levels "good risk" and "bad risk" along with 5 predictors.


 data( risk ) 


The risk dataset, as a data frame, contains 246 rows (customers) and 6 columns (variables/features). The 6 variables are:

  • age: age in years.

  • marital: A factor with levels "single", "married", and "other".

  • income: yearly income.

  • mortgage: A factor with levels "yes" and "no".

  • nr_loans: Number of loans that constomers have.

  • risk: A factor with levels "good risk" and "bad risk".

See Also

adult, churn, churnTel, bank, advertising, marketing, insurance, cereal, housePrice, house


data( risk )

str( risk )

liver documentation built on Nov. 2, 2023, 5:29 p.m.