Nothing
Code
markedness_vec(cp_truth, cp_estimate)
Condition
Error in `markedness_vec()`:
! `truth` should not a <class_pred> object.
Code
markedness_vec(1, 1, na_rm = "yes")
Condition
Error in `markedness_vec()`:
! `na_rm` must be `TRUE` or `FALSE`, not the string "yes".
NA with a warning when precision undefined (#98)Code
out <- markedness_vec(truth, estimate)
Condition
Warning:
While computing binary `precision()`, no predicted events were detected (i.e. `true_positive + false_positive = 0`).
Precision is undefined in this case, and `NA` will be returned.
Note that 0 true event(s) actually occurred for the problematic event level, a
NA with a warning when inverse precision undefined (#98)Code
out <- markedness_vec(truth, estimate)
Condition
Warning:
While computing binary `markedness()`, no predicted non-events were detected (i.e. `true_negative + false_negative = 0`).
Markedness is undefined in this case, and `NA` will be returned.
Note that 0 true non-event(s) actually occurred for the problematic event level, b
Code
out <- markedness_vec(truth, estimate)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.