Re: [R] convert Factor as numeric

2010-04-29 Thread arnaud Gaboury
boury > Cc: r-help@r-project.org > Subject: Odp: [R] convert Factor as numeric > > Hi > > You have to get rid of thousands separator firsr > > as.numeric(gsub(",", "", S)) > > Regards > Petr > > r-help-boun...@r-project.org napsal dne 29.0

Re: [R] convert Factor as numeric

2010-04-29 Thread Ben Bolker
arnaud Gaboury gmail.com> writes: > > Dear group, > > I know this issue has been already covered, and before you reply I must say > I have read the R-FAQ and search the mailing list archive. > I still can't manage to change my factor to numeric as I couldn't find any > clear answer. (Posting v

[R] convert Factor as numeric

2010-04-29 Thread arnaud Gaboury
Dear group, I know this issue has been already covered, and before you reply I must say I have read the R-FAQ and search the mailing list archive. I still can't manage to change my factor to numeric as I couldn't find any clear answer. Here is my df : Pose1 <- structure(list(DESCRIPTION = struct