jeudi 5 mars 2015

How to obtain and organize the number in a R vector?


I have a vector of number like this



original [1] 0 1 2 3 4 3 5 1 4 0 0 1



and I want to obtain a new vector like this



newvector [1] 0 1 2 3 4 5



I am trying to do this in a straight forward way because original is really, really long



Aucun commentaire:

Enregistrer un commentaire