inf_mat_prior_total_group_cpp | R Documentation |
Marginal prior probability (p(Z)) of a particular infection history matrix total prior Prior here is on the total number of infections across all individuals and times
inf_mat_prior_total_group_cpp(
n_infections_group,
n_alive_group,
shape1,
shape2
)
n_infections_group |
IntegerVector, the total number of infections in each group |
n_alive_group |
IntegerVector, vector giving total number of potential infection events per group |
shape1 |
double, shape1 (alpha) parameter for beta distribution prior |
shape2 |
double, shape2 (beta) parameter for beta distribution prior |
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_group_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.