average_posterior_prob_list: Average of posterior probabilities: Hn, Ha and Hc from list...

View source: R/RcppExports.R

average_posterior_prob_listR Documentation

Average of posterior probabilities: Hn, Ha and Hc from list (memory intensive)

Description

Average of posterior probabilities: Hn, Ha and Hc from list (memory intensive)

Usage

average_posterior_prob_list(
  params,
  lbf_mat,
  nsnps,
  covar_vec,
  nits,
  thin,
  covar = FALSE
)

Arguments

params

Vector of parameters: \alpha, \beta and \gamma

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

Value

matrix with average of all the posterior probabilities: Hn, Ha and Hc


ichcha-m/cophescan documentation built on June 16, 2024, 1:39 a.m.