View source: R/table.dist.poisson.R
table.dist.poisson | R Documentation |
Calculates probabilities for the poisson distribution and includes cumulative probabilities from each tail.
table.dist.poisson(
lambda = 5,
include.lambda = ifelse(abs(1 - lambda) < 0.3, max(10, 10/lambda), max(5, 5/lambda)),
include.x = ceiling(include.lambda * lambda)
)
lambda |
Scalar - mean of poisson distribution |
include.lambda |
Scalar - how many lambdas of x to include in table |
include.x |
Scalar - maximum value of x to include |
A data frame with x, probability at x, and cumulative probability from each tail to x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.