Learn R Programming

plsRglm (version 0.3.3)

tilt.bootpls: Tilted bootstrap for PLS models

Description

~~ A (1-5 lines) description of what the function does. ~~

Usage

tilt.bootpls(object, typeboot="plsmodel", statistic=coefs.plsR, R=c(499, 250, 250), alpha=c(0.025, 0.975), sim="ordinary", stype="i", index=1)

Arguments

object
~~Explain object here~~
typeboot
~~Explain typeboot here~~
statistic
~~Explain statistic here~~
R
~~Explain R here~~
alpha
~~Explain alpha here~~
sim
~~Explain sim here~~
stype
~~Explain stype here~~
index
~~Explain index here~~

Value

  • ~Describe the value returned If it is a LIST, use
  • comp1Description of 'comp1'
  • comp2Description of 'comp2'
  • ...

Details

~~ More details than the description above ~~

References

~put references to the literature/web site here ~

See Also

tilt.boot

Examples

Run this code
data(Cornell)
XCornell<-Cornell[,1:7]
yCornell<-Cornell[,8]

set.seed(1385)
Cornell.tilt.boot <- tilt.bootpls(plsR(yCornell,XCornell,3), statistic=coefs.plsR, 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