[R] Odp: Mapping strings to integers

2011-08-23 Thread Petr PIKAL
Hi Dear All, I am quite a newbie to R. Trying to learn it these days. Sorry for asking such a basic question, but could you kindly tell me how to map unique string values to integers in a data frame? I have a graph which has, most of its, vertices' attributes in a string format. I would

Re: [R] Odp: Mapping strings to integers

2011-08-23 Thread Ali.Abbas
Thank you very much. I have managed to do the mappings. And sorry for not mentioning the data type. It was a data frame. -- View this message in context: http://r.789695.n4.nabble.com/Mapping-strings-to-integers-tp3762828p3763317.html Sent from the R help mailing list archive at Nabble.com.