Hello,

Apparently your v_neighbours is a named vector of integers, so

v_neighbours[1:3]

or just

v_neighbours

will do the job(!)

Hope this helps,

Rui Barradas


Quoting "Ragia ." <ragi...@hotmail.com>:

 
 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 

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

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

Reply via email to