Hello, Could you please tell me wether there is any function in R that tell me how many subgroup in one variable I have? So for example if my data are x <- c(rnorm(50,50,3),rgamma(50,2,1),runif(50,0,1)) I want to know how many group I have? Many thank in advance, Samuel --- On Thu, 9/17/09, Samuel Okoye <samuoko@yahoo.com> wrote: From: Samuel Okoye <samuoko@yahoo.com> Subject: SVM To: r-help@stat.math.ethz.ch Date: Thursday, September 17, 2009, 4:39 AM Hello, I have 12 sample each sample has got 1000 observation, i.e I have a matrix X with 1000 rows and 12 columns! m <- svm(t(X)) p <- predict (m) Can anyone tell me how to use svmtrain() in R! Many Yhanks, Samuel [[alternative HTML version deleted]]