allocation_rule | R Documentation |
new_rule()
is used as a base to create a new treatment allocation rule
subclass. Define a rule_evaluate()
method to implement functionality.
The package's allocation rules are listed in the "See Also" section.
new_rule(parameters = list(), state = list(), class = character())
parameters |
List of user-supplied parameters for the rule. |
state |
List of values the rule keeps track of over evaluations. |
class |
Name of the rule subclass to create. |
Other allocation rules:
arjas_gasbarra()
,
random_allocation()
,
randomization_list()
,
thompson()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.