Re: [Rd] Table vs unique

2010-07-22 Thread Therneau, Terry M., Ph.D.
bject: Re: [Rd] Table vs unique On 07/21/2010 03:54 PM, Prof Brian Ripley wrote: > 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

Re: [Rd] Table vs unique

2010-07-22 Thread Göran Broström
On 07/21/2010 03:54 PM, Prof Brian Ripley wrote: 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())

Re: [Rd] Table vs unique

2010-07-21 Thread Prof Brian Ripley
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, Ter