combinePriorParameters: combinePriorParameters

combinePriorParametersR Documentation

combinePriorParameters

Description

This function combines prior parameters from different sources and returns them for use in performAnalyses.

Usage

combinePriorParameters(list_of_prior_parameters)

Arguments

list_of_prior_parameters

A list of items with class prior_parameters_list

Details

This function is intended to combine the prior parameters set with the functions setPriorParametersBerry, setPriorParametersExNex, setPriorParametersExNexAdj, setPriorParametersPooled, or setPriorParametersStratified, in case more than one analysis method should be applied with performAnalyses.

Value

A list with prior parameters of class prior_parameters_list

Author(s)

Stephan Wojciekowski

See Also

performAnalyses setPriorParametersBerry setPriorParametersExNex setPriorParametersExNexAdj setPriorParametersPooled setPriorParametersStratified getPriorParameters getMuVar

Examples

 prior_parameters_stratified <- setPriorParametersStratified(c(1, 2), c(3, 4))
 prior_parameters_berry      <- setPriorParametersBerry(0, 1, 2)

 prior_parameters_list       <- combinePriorParameters(
   list(prior_parameters_berry,
        prior_parameters_stratified))

bhmbasket documentation built on March 18, 2022, 7:46 p.m.