I am needing to create a new identifier variable for a data set which has no
ID variable in the original file. I am basically wanting to take the count
of each row and add "sd" in front of it - so it would look like so

sd1
sd2
sd3
sd4
sd5 etc.......

I have no idea how to do this. I am a SAS user trying to learn R. This
question may have been answered previously, but I could be searching for it
incorrectly. Thank you for any assistance you can provide. 

HyunJee

--
View this message in context: 
http://r.789695.n4.nabble.com/Create-an-identifier-variable-tp4120548p4120548.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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.

Reply via email to