Toads | R Documentation |
Hypothetical probability of a toad being right-handed
Toads
A data frame with 19 observations on the following 2 variables.
a numeric vector
a numeric vector
Toads
# generate this data manually
cbind(0:18, dbinom(0:18, 18, 0.5))
xyplot(prob ~ n.toads, Toads, type = 'h', lwd = 4)
barchart(prob ~ n.toads, Toads, origin=0, horizontal=FALSE)
plotDist('binom', params = list(18,0.5), kind = 'hist')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.