Jenny Edmondson wrote:
> Hi,
>
> I am wondering what does "mypredict.lda<-function(object,
> newdata)predict(object, newdata=newdata)$class" actually do?
>
> I run a few errorest commands in the same function on the same dataset
using
> the same classifier lda. The only difference is some use "cv",
other use
> "boot" and "632plus". They all share one mypredict.lda.
>
> Will it cause any problem?
No.
mypredict.lda() is a wrapper for errorest() which expects to get the
class from predict(), but not all the other "stuff" predict.lda()
provides.
Uwe Ligges
> Regards, justin
>
> ______________________________________________
> 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