I am new to R so my title might not even make sense. Basically, I have this data set, which is the length of insects collected at 2 different sites. When I used the 'summary' function, I got values for both sites, and I'd like to do calculate the mean of each site:
> ls()
[1] "simulies"
> ls.str()
simulies : 'data.frame':        615 obs. of  2 variables:
 $ Site  : Factor w/ 2 levels "Lovering","Orford": 2 2 2 2 2 2 2 2 2 2 ...
$ Length: num  4.1 2.8 2.2 3.2 3.2 3.1 3.1 4.1 4.1 3.2 ...
> summary(simulies)
   Site         Length     
Lovering:398   Min.   :0.600  
Orford  :217   1st Qu.:1.300  
               Median :1.600  
               Mean   :2.034  
               3rd Qu.:2.700  
               Max.   :5.000