Learn R Programming

EvidenceSynthesis (version 0.5.0)

detectApproximationType: 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)

Value

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

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?

Examples

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

Run the code above in your browser using DataLab