calc_logLR: Compute loglikelihood ratio for data from ash fit

View source: R/ashutility.R

calc_logLRR Documentation

Compute loglikelihood ratio for data from ash fit

Description

Return the log-likelihood ratio of the data for a given g() prior

Usage

calc_logLR(g, data)

Arguments

g

the fitted g, or an ash object containing g

data

a data object, see set_data


ashr documentation built on Aug. 22, 2023, 1:07 a.m.