inf_mat_prior_group_cpp | R Documentation |
Marginal prior probability (p(Z)) of infection history matrix with groups Prior is independent contribution from each year and group
inf_mat_prior_group_cpp(n_infections, n_alive, shape1, shape2)
n_infections |
IntegerMatrix, the total number of infections in each time point/group |
n_alive |
IntegerMatrix, matrix giving the number of individuals alive in each time unit in each group |
shape1 |
NumericVector, shape1 (alpha) parameters for beta distribution prior, one entry for each unique group |
shape2 |
NumericVector, shape2 (beta) parameters for beta distribution prior, one entry for each unique group |
a single prior probability
Other inf_mat_prior:
inf_mat_prior_cpp_vector()
,
inf_mat_prior_cpp()
,
inf_mat_prior_group_cpp_vector()
,
inf_mat_prior_total_group_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.