0

I am newest in using the R Language. I want to get the item with the maximum occurences in the vector. So, if i have a vector as bellow: vec<-as.vector(c(1,2,3,1,4,1,2)). I want get 1.

Thanks.

Sasa88
  • 327
  • 1
  • 3
  • 15

0 Answers0