[R] reading svm function in e1071

Roger D. Peng rpeng at jhsph.edu
Thu Dec 16 21:22:32 CET 2004


The predict method for class `svm' is hidden in a namespace.  Try

getS3method("predict", "svm")

-roger

Rajdeep Das wrote:
> Hi,
> 
> If I try to read the codes of functions in e1071 package, it gives me following error message.
> 
> 
>>library(e1071)
> 
> 
>>svm
> 
> function (x, ...)
> UseMethod("svm")
> <environment: namespace:e1071>
> 
>>predict.svm
> 
> Error: Object "predict.svm" not found
> 
> 
> Can someone help me on this how to read the codes of the functions in the e1071 package?
> 
> Thanks.
> 
> 
> Raj
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 

-- 
Roger D. Peng
http://www.biostat.jhsph.edu/~rpeng/




More information about the R-help mailing list