arboleje1 {dprep} | R Documentation |
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.
data("arboleje1")
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
Originated by Edgar Acuna
data(arboleje1) library(rpart) rpart(Prestamo~.,data=arboleje1,method="class")