Re: [R] predict missing values with svm

2009-09-28 Thread James W. MacDonald
Hi Andreas, Andreas Wittmann wrote: Dear R-Users, i want to use the function svm of the e1071 package to predict missing data data(iris) ## create missing completely at random data for (i in 1:5) { mcar <- rbinom(dim(iris)[1], siz

Re: [R] predict missing values with svm

2009-09-28 Thread Friedrich Leisch
> On Mon, 28 Sep 2009 16:12:11 +0200, > Andreas Wittmann (AW) wrote: That is a bug in predict.svm, I will inform David Meyer, the author of the function. Best, Fritz > Dear R-Users, > i want to use the function svm of the e1071 package to predict missing data > ###

[R] predict missing values with svm

2009-09-28 Thread Andreas Wittmann
Dear R-Users, i want to use the function svm of the e1071 package to predict missing data data(iris) ## create missing completely at random data for (i in 1:5) { mcar <- rbinom(dim(iris)[1], size=1, prob=0.1) iris[mcar == 1, i] <-