Nothing
Code
classification_cost_vec(cp_truth, estimate)
Condition
Error in `classification_cost_vec()`:
! `truth` should not a <class_pred> object.
Code
classification_cost_vec(1, 1, na_rm = "yes")
Condition
Error in `classification_cost_vec()`:
! `na_rm` must be `TRUE` or `FALSE`, not the string "yes".
Code
classification_cost(two_class_example, truth, Class1:Class2)
Condition
Error in `classification_cost()`:
! You are using a binary metric but have passed multiple columns to `...`.
Code
classification_cost(df, obs, A, costs = 1)
Condition
Error in `classification_cost()`:
! `costs` must be a data frame or `NULL`, not the number 1.
Code
classification_cost(df, obs, A, costs = data.frame())
Condition
Error in `classification_cost()`:
! `costs` must be a data.frame with 3 columns, not 0.
Code
classification_cost(df, obs, A, costs = data.frame(x = 1, y = 2, z = 3))
Condition
Error in `classification_cost()`:
! `costs` must have columns: "truth", "estimate", and "cost". Not x, y, and z.
Code
classification_cost(df, obs, A, costs = costs)
Condition
Error in `classification_cost()`:
! `costs$estimate` can only contain 'A', 'B'.
Code
classification_cost(df, obs, A, costs = costs)
Condition
Error in `classification_cost()`:
! `costs$truth` can only contain 'A', 'B'.
Code
classification_cost(df, obs, A, costs = costs)
Condition
Error in `classification_cost()`:
! `costs$truth` must be a character or factor column, not a double vector.
Code
classification_cost(df, obs, A, costs = costs)
Condition
Error in `classification_cost()`:
! `costs$estimate` must be a character or factor column, not a double vector.
Code
classification_cost(df, obs, A, costs = costs)
Condition
Error in `classification_cost()`:
! `costs$cost` must be a numeric column, not a character vector.
Code
classification_cost(df, obs, A, costs = costs)
Condition
Error in `classification_cost()`:
! costs cannot have duplicate truth / estimate combinations.
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.