table.dist.poisson: Table of Poisson Distribution

View source: R/table.dist.poisson.R

table.dist.poissonR Documentation

Table of Poisson Distribution

Description

Calculates probabilities for the poisson distribution and includes cumulative probabilities from each tail.

Usage

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)
)

Arguments

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

Value

A data frame with x, probability at x, and cumulative probability from each tail to x.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.