pcaiv(dudi, df, scannf = TRUE, nf = 2)
## S3 method for class 'pcaiv':
plot(x, xax = 1, yax = 2, \dots)
## S3 method for class 'pcaiv':
print(x, \dots)dudipcaivpcaiv, sub-class of class dudidudi)dudi)dudi$ls with the predicted values by Xdudi$tab on PPAdudi$tab on PPAdata(rhone)
pca1 <- dudi.pca(rhone$tab, scan = FALSE, nf = 3)
iv1 <- pcaiv(pca1, rhone$disch, scan = FALSE)
iv1$param
# iner inercum inerC inercumC ratio R2 lambda
# 6.27 6.27 5.52 5.52 0.879 0.671 3.7
# 4.14 10.4 4.74 10.3 0.984 0.747 3.54
plot(iv1)Run the code above in your browser using DataLab