demo/sec6.5.R

# Figure 6.5-1
xyplot(dbinom(0:18,18,0.5) ~ 0:18, type='h', 
	groups=0:18 %in% 0:12, lwd=8, lty=1)

histochart(dbinom(0:18,18,0.5) ~ 0:18, groups=0:18 %in% 0:12) 

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.