Description Usage Arguments Details Author(s) See Also Examples
View source: R/buildFreqdist.R
Building a freqdist object
1 | buildFreqdist(freq.distr, freq.param)
|
freq.distr |
A string giving the name of the distribution. Distributions "pois" and "nbinom" are recognised. |
freq.param |
List of numerical values giving the parameters for the given distribution. |
A freqdist object with type 'plain' is generated, i.e. for a given cell the losses occur with frequency given by distribution 'distr' with parameters given by 'param'.
Christina Zou
The sevdist objects according to different types are built via buildPlainSevdist, buildSplicedSevdist and buildMixingSevdist. For given data, a freqdist object can be fitted using fitFreqdist.
1 2 3 | # Poisson distributed frequency with lambda = 50
freqdist1 = buildFreqdist("pois", 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.