detectApproximationType {EvidenceSynthesis}R Documentation

Detect the type of likelihood approximation based on the data format

Description

Detect the type of likelihood approximation based on the data format

Usage

detectApproximationType(data, verbose = TRUE)

Arguments

data

The approximation data. Can be a single approximation, or approximations from multiple sites.

verbose

Should the detected type be communicated to the user?

Value

A character vector with one of the following values: "normal", "custom", "skew normal", "pooled", "grid", or "adaptive grid".

Examples

detectApproximationType(data.frame(logRr = 1, seLogRr = 0.1))


[Package EvidenceSynthesis version 0.5.0 Index]