Skip to content
Prev 69263 / 398526 Next

Change class factor to numeric

Hi
On 6 May 2005 at 8:51, Paulo Justiniano Ribeiro Jr wrote:

            
Not exactly correct.

as.numeric(as.character())

gives you what you probably want ,if "mass" is really factor ;)

see

str(mass)

Cheers
Petr
Petr Pikal
petr.pikal at precheza.cz