demo/sec2.5.R

# Figure 2.5-1
xyplot(son.attract ~ father.ornament, data=Guppies,
	xlab="Father's ornamentation",
	ylab="Son's attractiveness")

# Figure 2.5-2
xyplot(pelts ~ year, Lynx,
	type='b',
	ylab="Lynx fur returns",
	xlab="Year")

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, 4:46 p.m.