[R] get values out of Structure

Ragia . ragia11 at hotmail.com
Mon Mar 21 20:34:38 CET 2016



 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
 		 	   		  


More information about the R-help mailing list