| predict.svmlight | R Documentation | 
Predicts new observations using the SVM learned by 
the svmlight-function.
## S3 method for class 'svmlight'
predict(object, newdata, scal = TRUE, ...)
| object | Object of class  | 
| newdata | Data frame (or matrix) of cases to be predicted. | 
| scal | Logical, whether to scale membership values via  | 
| ... | ... | 
If a classification is learned (type="C") in svmlight a 
list with elements ‘class’ and ‘posterior’ (scaled, if scal = TRUE).
If a Regression is learned (type="R") in svmlight the predicted values.
Karsten Luebke, karsten.luebke@fom.de
svmlight, svm
## Not run: 
data(iris)
x <- svmlight(Species ~ ., data = iris)
predict(x, iris)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.