Displaying 1 result from an estimated 1 matches for "levelsmap".
2006 Nov 11
0
c() for factors
Dear R-core!
I have written a function mapLevels() to map levels of a factor. It can
produce a map (internally a list) of factor levels and internal integer
codes. I call this integer levelsMap. There is also character levelsMap,
but not of importance at this moment. I found out that it was quite
straightforward to write c() method for factors with use of mapLevels()
and Iam asking here if there is any interest to include this into base R.
In base R c() on two factors coerces to internal...