############################################################################################
pls_weights(X, inner, blocks, modes, scheme, tol, iter)
a vector with outer weights
scaled data
matrix with path connections
list with variables in each block
character vector indicating the type of measurement for each
block. Possible values are: "A", "B"
The length of modes
must be equal to the length of blocks
string indicating the type of inner weighting
scheme. Possible values are "centroid"
, "factorial"
, or
"path"
decimal value indicating the tolerance criterion for the
iterations (tol=0.000001
). Can be specified between 0 and 0.001
integer indicating the maximum number of iterations
(maxiter=100
by default). The minimum value of maxiter
is 100
Internal function