Construct DataModel objects from approximate likelihood or profile likelihood data

constructDataModel(data, labelReferences = NULL)

Arguments

data

The likelihood data. Can be a single approximation, approximations from multiple sites, or (adaptive) grid profile likelihoods.

labelReferences

Optional parameter that provides a reference list that maps string names to integer indices; only applies to "grid" or "adaptive grip" type of data.

Examples

data("likelihoodProfileLists")
dataModel <- constructDataModel(likelihoodProfileLists[[1]])
#> Detected data following adaptive grid distribution