An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20030214/8ca0b671/attachment.pl
Numeric Coerceing
2 messages · Wayne Jones, Marc Schwartz
-----Original Message----- From: r-help-admin at stat.math.ethz.ch [mailto:r-help-admin at stat.math.ethz.ch] On Behalf Of Wayne Jones Sent: Friday, February 14, 2003 8:20 AM To: r-help at stat.math.ethz.ch Subject: [R] Numeric Coerceing Does anyone know how to coerce a numeric to a string?? THanks Wayne
See ?as.character For example:
y <- 123 y
[1] 123
as.character(y)
[1] "123" Regards, Marc Schwartz