[R] More complex historgram

Jim Lemon jim at bitwrit.com.au
Fri May 14 10:32:56 CEST 2010

On 05/14/2010 02:46 AM, Blue.Egg wrote:
> I need to find out how can I on R, plot the mean egg of EGGS.H according to
> the district, or sex.
> Also how to compare the eggs of females on year of study x (in t.test)

Hi Blue.Egg,
You can always try barNest:

# first let's get more than one district
  ylab="Mean number of eggs",
  barlabels=list("Overall",c("District PO","District PQ"),
  c("Male","Female")),main="Blue.Egg\'s breakdown of eggs",

and if you want nested bars, add showall=TRUE. For the t-test:



More information about the R-help mailing list