data(lubisch)
lubisch <- lubisch[,-c(1,8)]
p <- acpgen(lubisch,h1=1,h2=1/sqrt(2))
plot(p,main='ACP robuste des individus')
# See difference with acp
p <- acp(lubisch)
plot(p)
# Other Data
.Random.seed <- c(1, 416884367 ,1051235439)
n <- 100 # Number of observations
m <- 0 # Mean of 1 group
temp <- cbind(rnorm(n,m,1),rnorm(n,0,10))
m <- 10
mat <- rbind(temp,cbind(rnorm(n,m,1),rnorm(n,0,10)))
mat <- scale(mat,TRUE,TRUE)
rm (m,n,temp)
Run the code above in your browser using DataLab