| assertions | R Documentation |
checkmateWe provide additional assertion functions that can be used together with
the checkmate functions. These are described in individual help pages
linked below.
Depending on the function prefix.
assert_ functions return the object invisibly if successful, and otherwise
throw an error message.
check_ functions return TRUE if successful, otherwise a string with the
error message.
test_ functions just return TRUE or FALSE.
assert_probabilities(), assert_probability(),
assert_probability_range(), assert_length().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.