[R] extracting all different items in a matrix colum or vector

bgnumis bgnum bgnumis at gmail.com
Tue Nov 15 13:33:32 CET 2016


Hi all,


>From many time ago, I have return to R, I have a matrix with this values.

C(jose, pepe, jose, luis, pepe, raul)

I want to "read" this matrix or element and extract all different values,
so the output matrix (that I want to download is:

c(jose, pepe, luis, raul).

There is a function to do this?

Many thanks in advance.

	[[alternative HTML version deleted]]



More information about the R-help mailing list