R/RcppExports.R
inf_mat_prior_cpp.Rd
Marginal prior probability (p(Z)) of a particular infection history matrix single prior Prior is independent contribution from each year
inf_mat_prior_cpp(infection_history, n_alive, alpha, beta)
infection_history | IntegerMatrix, the infection history matrix |
---|---|
n_alive | IntegerVector, vector giving the number of individuals alive in each time unit |
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_group_cpp_vector()
,
inf_mat_prior_group_cpp()
,
inf_mat_prior_total_group_cpp()