Raises the error with which the hypothesis engine
(hypothesis_BF_model()) refuses a statement or a test that it cannot
compute, so that other entry points of a package refuse the same cause with
the same condition classes.
hypothesis_stop(
reason,
type = c("target", "fixed", "method", "statement", "ambiguous"),
class = NULL,
fields = NULL
)the message of the condition.
the kind of refusal: "target" (no supported target or
prior density), "fixed" (the quantity is fixed by the fitted
model), or "method" (the density method is unavailable for the
target) have the classes BayesTools_hypothesis_<type> and
BayesTools_hypothesis_unavailable; "statement" (the
statement has to be restated) has the class
BayesTools_hypothesis_statement, and "ambiguous" (the
statement names several parameters) the classes
BayesTools_hypothesis_ambiguous and
BayesTools_hypothesis_statement.
additional condition classes appended to those of the type.
a named list of further fields of the condition.
Does not return; it signals the error.