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

Description Usage Format Source Examples

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

1
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

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

dprep documentation built on May 29, 2017, 11:01 a.m.