I have just started using the probabilities on R and I would like to classify the data according to their values.
set.seed(1)
w<-runif(150,0,10)
I'd also like to use a vector to classify in 3 categories low(for values < 4), medium(between 4 and 6), high for the rest.
Thank you in advance.
I apologize for bad English (I'm french)