View source: R/plot_poisson_likelihood.R
plot_poisson_likelihood | R Documentation |
Plots the Poisson likelihood function for variable λ given a vector of Poisson counts y.
plot_poisson_likelihood(y, lambda_upper_bound = 10)
y |
vector of observed Poisson counts |
lambda_upper_bound |
upper bound for lambda values to display on x-axis |
a ggplot of Poisson likelihood
plot_poisson_likelihood(y = c(4, 2, 7), lambda_upper_bound = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.