is_class_pred()
checks if an object is a class_pred
object.
Examples
x <- class_pred(factor(1:5))
is_class_pred(x)
#> [1] TRUE
is_class_pred()
checks if an object is a class_pred
object.
x <- class_pred(factor(1:5))
is_class_pred(x)
#> [1] TRUE