Description Usage Arguments Value Examples
Compute the optimal number of components, the PLS-PCE sensitivity indexes and related results.
1 | calcPLSPCE(pce, nc = 2)
|
pce |
an object of class |
nc |
integer. Required number of components. |
An object of class PLSPCE
.
1 2 3 4 5 6 7 8 9 | ### Load the dataset
load(system.file("extdata", "ishigami200.Rda", package="plspolychaos"))
X <- ishi200[, -ncol(ishi200)] # inputs
Y <- ishi200[, ncol(ishi200)] # output
### Creation of the full polynomials
degree <- 6 # polynomial degree
pce <- polyLeg(X, Y, degree)
### Compute the PLS-PCE sensitivity indexes for 25 components
ret <- calcPLSPCE(pce, nc=25)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.