plspm (version 0.5.1)

check_modes: Check modes

Description

Internal function not to be called by the user

Usage

check_modes(modes, blocks)

Value

validated modes

Arguments

modes

character vector indicating the type of measurement for each block. Values regular user can choose: "A", "B", "newA" Values Expert user can choose: "A", "B", "newA", "PLScore", "PLScow". The length of modes must be equal to the length of blocks.

blocks

list defining the blocks of manifest variables

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_modes is called by check_specs.