Table of Factors
banque.Rdbanque 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
agricFarmersartisCraftsmen, Shopkeepers, Company directorscadsuExecutives and higher intellectual professionsinterIntermediate professionsemploOther white-collar workersouvriManual workersretraPensionnersinactNon working populationetudiStudents
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
nonnoouiyes
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
homMalefemFemale
interdit: "No checkbook allowed" a factor with levels
nonnoouiyes
cableue: "Possess a bank card?" a factor with levels
nonnoouiyes
assurvi: "Contrat of life insurance?" a factor with levels
nonnoouiyes
soldevu: "Balance of the current accounts" a factor with levels
p4credit balance > 20000p3credit balance 12000-20000p2credit balance 4000-12000p1credit balance >0-4000n1debit balance 0-4000n2debit balance >4000
eparlog: "Savings and loan association account amount" a factor with levels
for> 20000fai>0 and <20000nulnulle
eparliv: "Savings bank amount" a factor with levels
for> 20000fai>0 and <20000nulnulle
credhab: "Home loan owner" a factor with levels
nonnoouiyes
credcon: "Consumer credit amount" a factor with levels
nulnonefai>0 and <20000for> 20000
versesp: "Check deposits" a factor with levels
ouiyesnonno
retresp: "Cash withdrawals" a factor with levels
fai< 2000moy2000-5000for> 5000
remiche: "Endorsed checks amount" a factor with levels
for>10000moy10000-5000fai1-5000nulnone
preltre: "Treasury Department tax deductions" a factor with levels
nulnonefai<1000moy>1000
prelfin: "Financial institution deductions" a factor with levels
nulnonefai<1000moy>1000
viredeb: "Debit transfer amount" a factor with levels
nulnonefai<2500moy2500-5000for>5000
virecre: "Credit transfer amount" a factor with levels
for>10000moy10000-5000fai<5000nulaucun
porttit: "Securities portfolio estimations" a factor with levels
nulnonefai< 20000moy20000-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)
}