calc_loglik: Compute loglikelihood for data from ash fit

View source: R/ashutility.R

calc_loglikR Documentation

Compute loglikelihood for data from ash fit

Description

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

Usage

calc_loglik(g, data)

Arguments

g

the fitted g, or an ash object containing g

data

a data object, see set_data


stephens999/ashr documentation built on March 16, 2024, 3:02 a.m.