Table of Factors
banque.Rd
banque
gives the results of a bank survey onto 810 customers.
Usage
data(banque)
Format
This data frame contains the following columns:
csp: "Socio-professional categories" a factor with levels
agric
Farmersartis
Craftsmen, Shopkeepers, Company directorscadsu
Executives and higher intellectual professionsinter
Intermediate professionsemplo
Other white-collar workersouvri
Manual workersretra
Pensionnersinact
Non working populationetudi
Students
duree: "Time relations with the customer" a factor with levels
dm2
<2 yearsd24
[2 years, 4 years[d48
[4 years, 8 years[d812
[8 years, 12 years[dp12
>= 12 years
oppo: "Stopped a check?" a factor with levels
non
nooui
yes
age: "Customer's age" a factor with levels
ai25
[18 years, 25 years[ai35
[25 years, 35 years[ai45
[35 years, 45 years[ai55
[45 years, 55 years[ai75
[55 years, 75 years[
sexe: "Customer's gender" a factor with levels
hom
Malefem
Female
interdit: "No checkbook allowed" a factor with levels
non
nooui
yes
cableue: "Possess a bank card?" a factor with levels
non
nooui
yes
assurvi: "Contrat of life insurance?" a factor with levels
non
nooui
yes
soldevu: "Balance of the current accounts" a factor with levels
p4
credit balance > 20000p3
credit balance 12000-20000p2
credit balance 4000-12000p1
credit balance >0-4000n1
debit balance 0-4000n2
debit balance >4000
eparlog: "Savings and loan association account amount" a factor with levels
for
> 20000fai
>0 and <20000nul
nulle
eparliv: "Savings bank amount" a factor with levels
for
> 20000fai
>0 and <20000nul
nulle
credhab: "Home loan owner" a factor with levels
non
nooui
yes
credcon: "Consumer credit amount" a factor with levels
nul
nonefai
>0 and <20000for
> 20000
versesp: "Check deposits" a factor with levels
oui
yesnon
no
retresp: "Cash withdrawals" a factor with levels
fai
< 2000moy
2000-5000for
> 5000
remiche: "Endorsed checks amount" a factor with levels
for
>10000moy
10000-5000fai
1-5000nul
none
preltre: "Treasury Department tax deductions" a factor with levels
nul
nonefai
<1000moy
>1000
prelfin: "Financial institution deductions" a factor with levels
nul
nonefai
<1000moy
>1000
viredeb: "Debit transfer amount" a factor with levels
nul
nonefai
<2500moy
2500-5000for
>5000
virecre: "Credit transfer amount" a factor with levels
for
>10000moy
10000-5000fai
<5000nul
aucun
porttit: "Securities portfolio estimations" a factor with levels
nul
nonefai
< 20000moy
20000-100000for
>100000
Examples
data(banque)
banque.acm <- dudi.acm(banque, scannf = FALSE, nf = 3)
apply(banque.acm$cr, 2, mean)
#> RS1 RS2 RS3
#> 0.17346599 0.11838319 0.09825814
banque.acm$eig[1:banque.acm$nf] # the same thing
#> [1] 0.17346599 0.11838319 0.09825814
if(adegraphicsLoaded()) {
g <- s.arrow(banque.acm$c1, plabels.cex = 0.75)
} else {
s.arrow(banque.acm$c1, clab = 0.75)
}