rule_evaluate: Evaluate a treatment allocation rule

View source: R/rule.R

rule_evaluateR Documentation

Evaluate a treatment allocation rule

Description

An implementation must populate the rule with the $result element, including at least the next allocation in $result$A.

Usage

rule_evaluate(rule, samples)

Arguments

rule

A treatment allocation rule.

samples

A matrix of samples from the posterior distribution of the parameter of interest, with a column for each treatment arm.


Orion-Corporation/barts documentation built on July 13, 2022, 10:23 p.m.