This is a Frequently Asked Question, so frequently in fact that it is found in the FAQ along with a couple of answers and discussion of their merits.
-- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.s...@imail.org 801.408.8111 > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of song song > Sent: Thursday, April 29, 2010 3:06 PM > To: r-help@r-project.org > Subject: [R] Is it possible to transform a factor to a number like this > way? > > such a factor as a=as.factor(c(1.23, 4.56, 7.89)) and I want to get > this > vector: c(1.23, 4.56, 7.89). > Thanks > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.