Monday, April 6 2020, 03:18 am
Mapping levels of a factor – The Comprehensive R Archive …

Mapping levels of a factor – The Comprehensive R Archive …

Mapping levels of a factor The gdata package by Gregor Gorjanc Introduction Factors use levels attribute to store information on mapping between internal integer codes and charac-ter values i.e. levels. First level is mapped to internal integer code 1 and so on. Although some users do not like factors, their use is more efficient in terms