plspm (version 0.4.9)

check_specs: Check specifications of PLS-PM algorithm

Description

Internal function not to be called by the user

Usage

check_specs(blocks, scaling, modes, scheme, scaled, tol,
    maxiter, plscomp)

Arguments

blocks
list defining the blocks of manifest variables
scaling
list with type of scaling for each manifest variable
modes
character vector specifying the modes
scheme
character string indicating the inner weighting scheme
scaled
should manifest variables be standardized
tol
character indicating the inner weighting scheme
maxiter
character indicating the inner weighting scheme
plscomp
optional vector indicating the number of PLS components (for each block) to be used when handling non-metric data (only used if scaling is provided)

Value

validated specifications

Warning

Do NOT use this function unless you are ME, a package developer, or a jedi user who really knows what is doing (seriously!)

Details

Internal function. check_specs is called by check_args.