dtpois | R Documentation |
dtpois
gives the probability mass function, ptpois
gives the cumulative mass
function, qtpois
the quantile function, rtpois
randome number generation
dtpois(x, lambda, log = FALSE) ptpois(q, lambda, lower.tail = TRUE, log = FALSE) qtpois(p, lambda, lower.tail = TRUE, log = FALSE) rtpois(n, lambda)
x |
vector of integers for which to return the probability |
lambda |
mean abundance |
log |
logical, should the log probability be used |
q |
vector of integers for which to return the cumulative probability |
lower.tail |
logical, should the lower tail be used |
p |
vector of probabilities for which to return the quantile |
n |
number of random replicates |
These functions assume infinite support of the truncated Poisson from [1, Inf).
A numeric vector of length equal to the input
Andy Rominger <ajrominger@gmail.com>
dpois
dtpois(1:10, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.