R/RcppExports.R
inf_mat_prior_group_cpp.Rd
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, alpha, beta)
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 |
alpha | double, alpha parameter for beta distribution prior |
beta | double, 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_total_group_cpp()