search for: tp3762828p3763317

Displaying 1 result from an estimated 1 matches for "tp3762828p3763317".

2011 Aug 23
2
Mapping strings to integers
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 like to replace them with ascending integers. For example, first unique value in column 1 changes to