default student balance income
No :9667 No :7056 Min. : 0.0 Min. : 772
Yes: 333 Yes:2944 1st Qu.: 481.7 1st Qu.:21340
Median : 823.6 Median :34553
Mean : 835.4 Mean :33517
3rd Qu.:1166.3 3rd Qu.:43808
Max. :2654.3 Max. :73554
default student balance income
1 No No 729.5265 44361.625
2 No Yes 817.1804 12106.135
3 No No 1073.5492 31767.139
4 No No 529.2506 35704.494
5 No No 785.6559 38463.496
6 No Yes 919.5885 7491.559
Manipulando os dados
credito <-tibble(Default)summary(credito)
default student balance income
No :9667 No :7056 Min. : 0.0 Min. : 772
Yes: 333 Yes:2944 1st Qu.: 481.7 1st Qu.:21340
Median : 823.6 Median :34553
Mean : 835.4 Mean :33517
3rd Qu.:1166.3 3rd Qu.:43808
Max. :2654.3 Max. :73554
estudante balanco receita inadimplente
Min. :0.0000 Min. : 0.0 Min. : 772 Nao:7733
1st Qu.:0.0000 1st Qu.: 795.5 1st Qu.:20166 Sim:7714
Median :0.0000 Median :1392.3 Median :33703
Mean :0.3394 Mean :1272.9 Mean :32841
3rd Qu.:1.0000 3rd Qu.:1769.2 3rd Qu.:43745
Max. :1.0000 Max. :2654.3 Max. :73554