accept my apology for resending..
Dear group I have the following variable v_neighbours and it holds a vector of the following : gawker.com gle.am jezebel.com 1 16 28 to have a copy, dput(v_neighbours) structure(c(1L, 16L, 28L), .Names = c("gawker.com", "gle.am", "jezebel.com")) 3 urls and their id ...when I call the class(v_neighbours ) the result is "integer" how can I get the factor numeric values ( 1,16,28) out of this variable. thanks in advance R.Ibrahim ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.