Predicting a bank's decision to give a loan for buying a car.

Description

Simulated example about predicting a bank's decision to give a loan to customer for buying a car.

Usage

1
data("arboleje")

Format

A data frame with 25 observations on the following 7 variables.

Sexo

a factor indicaing the customer's gender with levels Hombre Mujer

Familia

a numeric vector indicating the number of members in the family

CasaPropia

a factor with levels No Si

AnosEmpleo

a numeric vector indicating the years of employment

Sueldo

a numeric vector indicating the monthly salary

StatusMarital

a factor with levels Casado Divorciado Soltero Viudo

Prestamo

a factor indicating the bank's with levels No Si

Source

Originated by EDgar Acuna

Examples

1
2
3
data(arboleje)
library(rpart)
rpart(Prestamo~.,data=arboleje,method="class")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.