dplnorm | R Documentation |
dplnorm
gives the probability mass function, pplnorm
gives the cumulative mass
function, qplnorm
the quantile function, rplnorm
randome number generation
dplnorm(x, mu, sig, log = FALSE) pplnorm(q, mu, sig, lower.tail = TRUE, log = FALSE) qplnorm(p, mu, sig, lower.tail = TRUE, log = FALSE) rplnorm(n, mu, sig)
x |
vector of integers for which to return the probability |
mu |
mean log abundance |
sig |
standard deviation of log 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 Poisson log-normal from [1, Inf). Calculations are based on code from the poilog
package, see References
A numeric vector of length equal to the input
Andy Rominger <ajrominger@gmail.com>
Engen, S., R. Lande, T. Walla & P. J. DeVries. 2002. Analyzing spatial structure of communities using the two-dimensional Poisson lognormal species abundance model. American Naturalist 160: 60-73.
dpois, dlnorm, dtpois
dplnorm(1:10, 0.5, 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.