Learn R Programming

liver (version 1.5)

risk: 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 )

Arguments

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

Run this code
# NOT RUN {
data( risk )

str( risk )
# }

Run the code above in your browser using DataLab