check_args: Check arguments for 'plspm' and 'plspm.fit'

Description Usage Arguments Details Value Warning

View source: R/check_arguments.r

Description

Internal function not to be called by the user

Usage

1
2
3
  check_args(Data, path_matrix, blocks, scaling, modes,
    scheme, scaled, tol, maxiter, plscomp, boot.val, br,
    dataset)

Arguments

Data

numeric matrix or data frame containing the manifest variables.

path_matrix

square (lower triangular) boolean matrix for inner model.

blocks

List of vectors (either numeric or character) to specify the blocks of manifest variables asociated to the latent variables.

modes

character indicating the type of measurement.

scheme

string indicating the type of inner weighting scheme.

scaled

logical indicating whether scaling data is performed.

tol

decimal value indicating the tol criterion for covergence.

maxiter

integer indicating the maximum number of iterations.

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)

bootstrap

whether bootstrap validation is performed.

br

integer indicating the number bootstrap resamples.

dataset

whether the data matrix should be retrieved.

Details

Internal function. check_args is called by plspm.

Value

list of validated arguments

Warning

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


gastonstat/plspm2 documentation built on May 16, 2019, 5:47 p.m.