Hi, On Fri, Oct 22, 2010 at 12:27 PM, Neeti <nikkiha...@gmail.com> wrote: > > thank you so much.. but i could not understand which parameter should i use?
Sorry, I can't really help you unless you're a lot more specific about what you are having problems with. Look at the "Examples" section in the help for the svm function: R> ?svm Look at what the data inputs to the svm function look like: R> head(iris) And other stuff If you are having problems with R's forumla "interface" (Species ~ .), look at the help for formula: R> ?formula You can skip the formula interface and pass the svm function an x and y variables for your data: * x is a matrix of your data (rows are separate observations, columns are the features/dimensions for each observation) and y is a vector of labels (as long as there are rows in x). -- Steve Lianoglou Graduate Student: Computational Systems Biology | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.