Description Usage Arguments Value Examples
View source: R/plot_poisson_likelihood.R
Plots the Poisson likelihood function for variable λ given a vector of Poisson counts y.
1 | 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
1 | 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.