detectApproximationType: Detect the type of likelihood approximation based on the data...

View source: R/LikelihoodApproximation.R

detectApproximationTypeR 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))


OHDSI/EvidenceSynthesis documentation built on Sept. 7, 2024, 12:09 a.m.