inf_mat_prior_cpp_vector | R Documentation |
Marginal prior probability (p(Z)) of a particular infection history matrix vector prior Prior is independent contribution from each year, but each year has its own shape parameters
inf_mat_prior_cpp_vector(infection_history, n_alive, shape1s, shape2s)
infection_history |
IntegerMatrix, the infection history matrix |
n_alive |
IntegerVector, vector giving the number of individuals alive in each time unit |
shape1s |
NumericVector, shape1 (alpha) parameters for beta distribution prior, one for each time unit |
shape2s |
NumericVector, shape2 (beta) parameters for beta distribution prior, one for each time unit |
a single prior probability
Other inf_mat_prior:
inf_mat_prior_cpp()
,
inf_mat_prior_group_cpp_vector()
,
inf_mat_prior_group_cpp()
,
inf_mat_prior_total_group_cpp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.