Description Usage Arguments Value See Also
View source: R/input_model_poisson.R
Poisson - Gamma model. Fits num_models
Poisson distributions to a numerical
vector (attribute).
1 | input_model_poisson(data, num_models, prior)
|
data |
Numerical vector of data points. |
num_models |
Number of distributions to fit. |
prior |
List containing parameters of Gamma prior distribution for the rate of Poisson distribution. List has to contain attributes "a" and "b" being the shape and rate parameters. |
List of num_models
S3 classes of type 'poisson'
The class 'poisson' has the following methods defined: mean, sample and var.
Other input models: input_model_bernoulli
,
input_model_mvnormal_iw
,
input_model_normal_ig
,
input_model_normal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.