.check_statistic_args {epichains} | R Documentation |
Check that the statistic
and stat_threshold
arguments are valid
Description
The function treats these two arguments as related and checks them in one place to remove repeated checks in several places in the package.
Usage
.check_statistic_args(statistic, stat_threshold)
Arguments
statistic |
The chain statistic to track as the
stopping criteria for each chain being simulated when
|
stat_threshold |
A stopping criterion for individual chain simulations;
a positive number coercible to integer. When any chain's cumulative statistic
reaches or surpasses |
Value
NULL; called for side effects