[R] e1071::SVM calculate distance to separating hyperplane

Vermeiren, Hans [VRCBE] hvermei1 at vrcbe.jnj.com
Wed Jan 4 17:17:08 CET 2006

I know this question has been posed before, but I didnt find the answer in
the R-help archive, so please accept my sincere apologies for being
How can one (elegantly) calculate the distance between data points (in the
transformed space, I suppose) and the hyperplane that separates the 2
categories when using svm() from the e1071 library?

thanks a lot,

More information about the R-help mailing list