Provides textual summary for posterior distributions created by mix_posteriors and ensemble inference created by ensemble_inference.

interpret(inference, samples, specification, method)

Arguments

inference

model inference created by ensemble_inference

samples

posterior samples created by mix_posteriors

specification

list of lists specifying the generated text. Each inner list carries: (1) inference specifying the name of in the inference entry and optionally inference_name as a name to use in the text and inference_BF_name as a symbol to be used instead of the default "BF", (2) samples specifying the name of in the samples entry and optionally samples_name as a name to use in the text, samples_units as a unit text to be appended after the estimate, and samples_conditional specifying whether the estimate is conditional or model-averaged.

method

character specifying name of the method to be appended at the beginning of each sentence.

Value

interpret returns character.