Skip to content
Prev 37230 / 63424 Next

Table vs unique

I believe this is a misdiagnosis: the 'rounding' is done by 
as.character (as the help for argument 'levels' in ?factor does say) 
and ?as.character has a full explanation (and is linked from the 
relevant part of ?factor).

as.numeric(as.character()) should do the trick.
On Wed, 21 Jul 2010, Terry Therneau wrote: