loglik: Log likelihood calculation

View source: R/RcppExports.R

loglikR Documentation

Log likelihood calculation

Description

Log likelihood calculation

Usage

loglik(params, lbf_mat, nsnps, covar_vec, 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

covar

logical: should the covariate inflormation be used? default: False

Value

logpost flog of the posteriors


cophescan documentation built on June 22, 2024, 9:15 a.m.