doNothing | R Documentation |
This is an action function that does nothing when the corresponding milestone
is triggered. When the listener is monitoring a trial and determining the
time to trigger a milestone, data is automatically locked with other necessary
data manipulation being executed. If the users have no intent to modify the
trial adaptively at the milestone, e.g., adding (add_arms()
) or
removing (remove_arms()
) arm(s),
changing sampling ratio(s) (update_sample_ratio()
),
modifying trial duration, carrying out statistical testing,
or saving intermediate results (save()
), then this function
can be used to set the argument action
when creating a new milestone.
Note that the triggering time of a milestone with action = doNothing
is still recorded in output automatically.
doNothing(trial, milestone_name)
trial |
a |
milestone_name |
character. Name of milestone being triggered. |
This function returns NULL
. Actually, nothing is done in this function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.