Re: [R] hi Have you loaded the library containing lda? library(MASS) Christophe Pallier On 5/10/07, elyakhlifi mustapha  wrote: > > 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? > > > > 	[[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.