plspm (version 0.4.9)

check_blocks: Check well defined blocks

Description

Internal function not to be called by the user

Usage

check_blocks(blocks, Data)

Arguments

blocks
list defining the blocks of manifest variables. Elements in blocks must have the same mode: all "numeric" or all "character".
Data
matrix or data frame from where to extract manifest variables.

Value

validated blocks (output in numeric format)

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_blocks is called by check_args.