Description Usage Arguments Value Examples
View source: R/plot_binomial_likelihood.R
Plots the Binomial likelihood function for variable π given y observed successes in a series of n Binomial trials.
1 | plot_binomial_likelihood(y, n, mle = FALSE)
|
y |
number of successes |
n |
number of trials |
mle |
a logical value indicating whether maximum likelihood estimate of π, y/n, should be plotted |
a ggplot
1 | plot_binomial_likelihood(y = 3, n = 10, mle = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.