demo/sec3.3.R

# Figure 3.3-1
histogram(~plates | genotype, SticklebackPlates, 
	layout=c(1,3), breaks=seq(6,70,by=2))

# Table 3.3-1
aggregate(plates ~ genotype, SticklebackPlates, FUN = favstats)

summary(plates ~ genotype, SticklebackPlates, fun = favstats)

Try the abd package in your browser

Any scripts or data that you put into this service are public.

abd documentation built on May 2, 2019, 2:14 p.m.