Hallo See lattice > temp<-read.table("clipboard", header=T) > temp poids taille fumeur sexe sport etat 1 85 184 oui homme 1 malade 2 65 175 oui homme 1 malade 3 74 180 oui homme 2 gueri 4 79 175 oui homme 2 malade 5 71 165 non homme 3 gueri 6 80 185 non homme 3 gueri 7 75 180 non homme 4 malade 8 69 155 non homme 4 malade 9 74 168 oui femme 1 malade 10 64 171 oui femme 1 gueri 11 63 169 oui femme 2 gueri 12 70 165 oui femme 2 gueri 13 55 167 non femme 3 malade 14 65 164 non femme 3 gueri 15 67 155 non femme 4 malade 16 70 175 non femme 4 gueri > library(lattice) > xyplot(taille~poids|sexe, data=temp)
Cheers Petr On 16 May 2005 at 11:09, Faouzi LYAZRHI wrote: > Hi, > > poids taille fumeur sexe sport etat > 85 184 oui homme 1 malade > 65 175 oui homme 1 malade > 74 180 oui homme 2 gueri > 79 175 oui homme 2 malade > 71 165 non homme 3 gueri > 80 185 non homme 3 gueri > 75 180 non homme 4 malade > 69 155 non homme 4 malade > 74 168 oui femme 1 malade > 64 171 oui femme 1 gueri > 63 169 oui femme 2 gueri > 70 165 oui femme 2 gueri > 55 167 non femme 3 malade > 65 164 non femme 3 gueri > 67 155 non femme 4 malade > 70 175 non femme 4 gueri > > I would like to make a graphic taille againts poids by sex in same > graphic with different labels Thank you for your help Fawzi > > ______________________________________________ > 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 Petr Pikal [EMAIL PROTECTED] ______________________________________________ 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