binomial_likelihood_plot: Plot the likelihood function of a binomial model

binomial_likelihood_plotR Documentation

Plot the likelihood function of a binomial model

Description

Plot the likelihood function of a binomial model

Usage

binomial_likelihood_plot(m, n, lim = c(0, 1), interval = NULL)

Arguments

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

Value

A ggplot object

Examples

binomial_likelihood(250, 135)

mark-andrews/isdsr-pkg documentation built on Sept. 13, 2022, 11:47 p.m.