Description Usage Arguments Value Note Author(s) Examples
Computes moments of a Poisson distribution. The calculations are based on values of positive and total partitions or the theoretical lambda value.
1 | moments(input)
|
input |
a vector with two elements (the first element is treated as
a number of positive partitions and the second as a number of total partitions)
or a matrix with two columns (first columns contains numbers of
positive partitions and the second total numbers of total partitions)
or an object of class |
A data frame with four columns: name of the experiment, name of the replicate, method of computation (theoretical or empirical), name of the moment and the value of the moment. The theoretical moments are computed using the lambda value and the empirical using the sample values.
Four first moments of a Poisson distribution.
Mean : lambda.
Variance: lambda.
Skewness: lambda^(-0.5).
Kurtosis: lambda^(-1).
Michal Burdukiewicz.
1 2 3 4 5 | # moments for 100 positive partitions of 765 total partitions
moments(c(100, 765))
# calculate moments for an array digital PCR
moments(six_panels)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.