R/LikelihoodApproximation.R
detectApproximationType.Rd
Detect the type of likelihood approximation based on the data format
detectApproximationType(data, verbose = TRUE)
The approximation data. Can be a single approximation, or approximations from multiple sites.
Should the detected type be communicated to the user?
A character vector with one of the following values: "normal", "custom", "skew normal", "pooled", "grid", or "adaptive grid".
detectApproximationType(data.frame(logRr = 1, seLogRr = 0.1))
#> Detected data following normal distribution
#> [1] "normal"