Add 
>library(MASS)
>lda(...)

 
Justin BEM
Elève Ingénieur Statisticien Economiste
BP 294 Yaoundé.
Tél (00237)9597295.

----- Message d'origine ----
De : elyakhlifi mustapha <elyakhlifi_mustapha@yahoo.fr>
À : R-help@stat.math.ethz.ch
Envoyé le : Jeudi, 10 Mai 2007, 10h08mn 31s
Objet : [R] hi

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.







	
	
		
___________________________________________________________________________





	[[alternative HTML version deleted]]

