bootstrapWrap {ddsPLS} | R Documentation |
C++ wrapper for bootstrap function
Description
The wrapper used to start the bootstrap commands. Not to be used by the user.
Usage
bootstrapWrap(
U,
V,
X,
Y,
lambdas,
lambda_prev,
R,
n_B,
doBoot = TRUE,
n,
p,
q,
n_lambdas,
lambda0.
)
Arguments
U |
matrix, weights X |
V |
matrix, weights Y |
X |
matrix |
Y |
matrix |
lambdas |
vector, the to be tested values for lambda |
lambda_prev |
vector, the previous selected values for lambda |
R |
integer, the desired number of components |
n_B |
integer, the number of bootstrap samples required |
doBoot |
boolean, whether or not perform bootstrap. Used to build the final model (FALSE) |
n |
integer, the number of observations |
p |
integer, the number of covariates |
q |
integer, the number of response variables |
n_lambdas |
integer, the number of to be tested lambdas |
lambda0. |
the vector of lambda0 |
Value
A list
[Package ddsPLS version 1.2.1 Index]