[R] RV: By sentence

2007-03-27 Thread Jorge Cornejo Donoso
Hi dear listers Do you know how to made a mean by one or more categorical variables? I can do that quite easy on SAS by in R I just can't do it E.g. Some fishes Sex Lenght male15 fema20 fema17 fema19

[R] RV: by sentence

2007-03-27 Thread Erin Hodgess
,mean) fema male 18.7 16.5 Sincerely, Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: [EMAIL PROTECTED] From: Jorge Cornejo Donoso [EMAIL PROTECTED] Subject: [R] RV: By sentence Hi dear listers

Re: [R] RV: By sentence

2007-03-27 Thread Petr Klasterecky
Well, you want a mean of length BY sex, so look at by()... See ?by by(your.data.frame,sex,mean) Petr Jorge Cornejo Donoso napsal(a): Hi dear listers Do you know how to made a mean by one or more categorical variables? I can do that quite easy on SAS by in R I just can't do it