risk: Risk data set

riskR Documentation

Risk data set

Description

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.

Usage

 data(risk) 

Format

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

Examples

data(risk)

str(risk)

liver documentation built on April 3, 2025, 10:51 p.m.