factor2numeric: Auxiliary function for mmlLogit

Description Usage Arguments

View source: R/factor2numeric.R

Description

This function converts variable levels from strings to numeric starting from 0. For example, if a varaible has levels A, B and C, these three levels will be converted to 0, 1 and 2 respectively.

Usage

1

Arguments

data

kelvinyangli/mbmml documentation built on June 29, 2020, 3:12 a.m.