calc_vloglik: Compute vector of loglikelihood for data from ash fit

View source: R/ashutility.R

calc_vloglikR Documentation

Compute vector of loglikelihood for data from ash fit

Description

Return the vector of log-likelihoods of the data betahat, with standard errors betahatsd, for a given g() prior on beta, or an ash object containing that

Usage

calc_vloglik(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 May 16, 2024, 3:10 a.m.