Philip James Smith wrote:
Hi R Community:
I've got a character string that looks like: New Mexico
What does this mean? I do not think I understand. Do you have a vector
with one element (New Mexico) in it? I think we need a few more
details, like what it is exactly you have (class of your data), and what
you want to do with it. If your string is in a variable 'x', try str(x)
and class(x).
How to I create the new character string that looks like: "New Mexico"
That is, it is the original string (New Mexico) with double quotes
infront and behind it?
Thanks,
Phil Smith
______________________________________________
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.