Learn R Programming

genpathmox (version 0.9)

pls_weights: Outer Weights

Description

############################################################################################

Usage

pls_weights(X, inner, blocks, modes, scheme, tol, iter)

Value

a vector with outer weights

Arguments

X

scaled data

inner

matrix with path connections

blocks

list with variables in each block

modes

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

scheme

string indicating the type of inner weighting scheme. Possible values are "centroid", "factorial", or "path"

tol

decimal value indicating the tolerance criterion for the iterations (tol=0.000001). Can be specified between 0 and 0.001

iter

integer indicating the maximum number of iterations (maxiter=100 by default). The minimum value of maxiter is 100

Details

Internal function