[R] most frequent value

Ragia Ibrahim ragia11 at hotmail.com
Mon Jun 15 01:04:47 CEST 2015


Dear group,
I have the following integer object

> a 

3 4 6 
3 3 6 

how to get the most frequent value (it should be 3)

and get nothing if no frequent one and all is equal

3 4 6 
3 4 6 
Thanks in advance
Ragia
 		 	   		  
	[[alternative HTML version deleted]]



More information about the R-help mailing list