get_dummies {plspm} | R Documentation |
Dummy matrices for categorical manifest variables
Description
Internal function not to be called by the user
Usage
get_dummies(MV, specs)
Arguments
MV |
matrix or data frame from with manifest variables |
specs |
list with algorithm specifications |
Details
Internal function. get_dummies
is called by
plspm
.
Value
dummies list with dummy matrices for categorical 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!)
Note
If there are no categorical variables specified in specs,
get_dummies
returns NULL
[Package plspm version 0.5.1 Index]