binomial_likelihood_plot | R Documentation |
Plot the likelihood function of a binomial model
binomial_likelihood_plot(m, n, lim = c(0, 1), interval = NULL)
m |
Number of successes |
n |
Number of trials |
lim |
x-axis limits |
interval |
Show likelihood interval? If NULL, no interval, if numeric, show likelihood interval 1/2^interval |
A ggplot object
binomial_likelihood(250, 135)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.