get_numerics {plspm} | R Documentation |
Transform factors in MV into numeric
Description
Internal function not to be called by the user
Usage
get_numerics(MV)
Arguments
MV |
data frame with manifest variables as factors |
Details
Internal function. get_numerics
is called by
get_treated_data
.
Value
list with transformed MV and categories of factors
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
This function is used when there are categorical variables defined as 'factors'. The idea is to convert those factors into numeric vectors while keeping the levels (ie categories) in a separate list
[Package plspm version 0.5.1 Index]