R: Takes raw data and sets up data object for use by ash

set_data {ashr} | R Documentation

## Takes raw data and sets up data object for use by ash

### Description

Takes raw data and sets up data object for use by ash

### Usage

    set_data(betahat, sebetahat, lik = NULL, alpha = 0)

### Arguments

`betahat` | vector of betahats
`sebetahat` | vector of standard errors
`lik` | a likelihood (see e.g., lik_normal())
`alpha` | specifies value of alpha to use (model is for betahat/sebetahat^alpha | sebetahat)

### Details

The data object stores both the data, and details of the model to be used for the data. For example, in the generalized version of ash the cdf and pdf of the likelihood are stored here.

### Value

data object (list)

[Package ashr version 2.2-54 Index]