average_posterior_prob | R Documentation |
Average of posterior probabilities: Hn, Ha and Hc
average_posterior_prob(
params,
lbf_mat,
nsnps,
covar_vec,
nits,
thin,
covar = FALSE
)
params |
Vector of parameters: |
lbf_mat |
matrix of log bayes factors: lBF.Ha and lBF.Hc |
nsnps |
number of snps |
covar_vec |
Vector of the covariate |
nits |
Number of iterations run in mcmc |
thin |
thinning |
covar |
logical: was the covariate inflormation used? default: False |
matrix with average of all the posterior probabilities: Hn, Ha and Hc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.