get_numerics: Transform factors in MV into numeric

Description Usage Arguments Details Value Warning Note

View source: R/test_factors.r

Description

Internal function not to be called by the user

Usage

1

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


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