arboleje1 {dprep}R Documentation

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. The feature "Marital Status" has been codified using three dummy variables.

Usage

data("arboleje1")

Format

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

Sexo

a factor with levels Hombre Mujer

Familia

a numeric vector

CasaPropia

a factor with levels No Si

AnosEmpleo

a numeric vector

Sueldo

a numeric vector

Prestamo

a factor with levels No Si

x31

a numeric vector

x32

a numeric vector

x33

a numeric vector

Source

Originated by Edgar Acuna

Examples

data(arboleje1)
library(rpart)
rpart(Prestamo~.,data=arboleje1,method="class")

[Package dprep version 3.1.1 Index]