Description Usage Format Source Examples
Simulated example about predicting a bank's decision to give a loan to customer for buying a car.
1 | data("arboleje")
|
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
Originated by EDgar Acuna
1 2 3 |
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE
3: .onUnload failed in unloadNamespace() for 'rgl', details:
call: fun(...)
error: object 'rgl_quit' not found
n= 25
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 25 10 Si (0.4000000 0.6000000)
2) Sueldo>=3275 7 2 No (0.7142857 0.2857143) *
3) Sueldo< 3275 18 5 Si (0.2777778 0.7222222) *
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.