[R] Odp:  hi Hi r-help-bounces@stat.math.ethz.ch napsal dne 10.05.2007 11:08:31: > hi, > I have this error  >  > > tr <- sample(1:50, 25) > > train <- rbind(iris3[tr,,1], iris3[tr,,2], iris3[tr,,3]) > > test <- rbind(iris3[-tr,,1], iris3[-tr,,2], iris3[-tr,,3]) > > cl <- factor(c(rep("s",25), rep("c",25), rep("v",25))) > > z <- lda(train, cl) > Erreur : impossible de trouver la fonction "lda" >  > I don't understand why R doesn't recognize the lda function, > can you help me please? Did you call library(MASS) before trying to use lda? If yes you could have corrupted MASS package. If  no, it is always advisable to load packages which you want to use into  memory. Regards Petr >  >  >  >  ___________________________________________________________________________ >  >  >  >  >  >    [[alternative HTML version deleted]] >  > ______________________________________________ > 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 > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ 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 and provide commented, minimal, self-contained, reproducible code.