This function checks additonal inputs specific to the maxEquivTest function.
maxTest_error(type, equiv_threshold, vcov, B)
A list with two elements: error
a logical value indicating whether an error was found, and message
a character string with the error message. If no error was found, error
is FALSE
and message
is empty.
the type of test for the maximum absolute placebo coefficient to be conducted; must be one of "IU", "Boot" or "Wild".
the equivalence threshold for the test. Must be a numeric scalar or NULL.
the variance-covariance matrix estimator. See maxEquivTest
for more information.
the number of bootstrap iterations. Must be a numeric integer scalar.