loglik | R Documentation |
Log likelihood calculation
loglik(params, lbf_mat, nsnps, covar_vec, 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 |
covar |
logical: should the covariate inflormation be used? default: False |
logpost flog of the posteriors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.