if (FALSE) {
data(Cornell)
XCornell<-Cornell[,1:7]
yCornell<-Cornell[,8]
set.seed(1385)
Cornell.tilt.boot <- tilt.bootpls(plsR(yCornell,XCornell,1), statistic=coefs.plsR,
typeboot="fmodel_np", R=c(499, 100, 100), alpha=c(0.025, 0.975), sim="ordinary",
stype="i", index=1)
Cornell.tilt.boot
str(Cornell.tilt.boot)
boxplots.bootpls(Cornell.tilt.boot,indices=2:7)
rm(Cornell.tilt.boot)
}
Run the code above in your browser using DataLab