Learn R Programming

EvidenceSynthesis (version 1.0.0)

constructDataModel: Construct DataModel objects from approximate likelihood or profile likelihood data

Description

Construct DataModel objects from approximate likelihood or profile likelihood data

Usage

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

Run this code
data("likelihoodProfileLists")
dataModel <- constructDataModel(likelihoodProfileLists[[1]])

Run the code above in your browser using DataLab