selectIntegrationMethod: Identifies the integration method to be choosen for a measure

View source: R/Bayes_spaces.R

selectIntegrationMethodR Documentation

Identifies the integration method to be choosen for a measure

Description

Identifies the integration method to be choosen for a measure

Usage

selectIntegrationMethod(
  measure,
  method = c("default", "sample", "MonteCarlo", "integrate")
)

## S3 method for class 'ReferenceMeasure'
selectIntegrationMethod(measure, method)

## S3 method for class 'CartesianProductMeasure'
selectIntegrationMethod(measure, method)

Arguments

measure

the ReferenceMeasure for which the method should be selected

method

a user provide method hint

Value

a string identifiying the method

Methods (by class)

  • selectIntegrationMethod(ReferenceMeasure): standard method using "sample"

  • selectIntegrationMethod(CartesianProductMeasure): select "MonteCarlo" if the getSample is an exhausted random default sample. Otherwise use "sample"

Examples

selectIntegrationMethod(StdReferenceMeasureUnif01,"default")


DistributionalDDA documentation built on Oct. 20, 2026, 5:06 p.m.