50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


ade4 (version 1.04)

monde84: Global State of the World in 1984

Description

The monde84 data frame gives five demographic variables for 48 countries in the world.

Usage

data(monde84)

Arguments

source

Geze, F. and Coll., eds. (1984) L'�tat du Monde 1984 : annuaire �conomique et g�opolitique mondial. La D�couverte, Paris.

Examples

Run this code
data(monde84)
X <- cbind.data.frame(lpib = log(monde84$pib), monde84$croipop)
Y <- cbind.data.frame(lmorta = log(monde84$morta), 
    lanal = log(monde84$anal + 1), rscol = sqrt(100 - monde84$scol))
pcaY <- dudi.pca(Y, scan = FALSE)
pcaiv1 <- pcaiv(pcaY, X0 <- scale(X), scan = FALSE)
sum(cor(pcaiv1$l1[,1], Y0 <- scale(Y))^2)
pcaiv1$eig[1] #the same

Run the code above in your browser using DataLab