Re: [R] mypredict.

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Fri 24 Jun 2005 - 17:35:18 EST

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@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



R-help@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 Received on Fri Jun 24 17:54:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:02 EST