as_class_pred {probably} | R Documentation |
Coerce to a class_pred
object
Description
as_class_pred()
provides coercion to class_pred
from other
existing objects.
Usage
as_class_pred(x, which = integer(), equivocal = "[EQ]")
Arguments
x |
A factor or ordered factor. |
which |
An integer vector specifying the locations of |
equivocal |
A single character specifying the equivocal label used when printing. |
Examples
x <- factor(c("Yes", "No", "Yes", "Yes"))
as_class_pred(x)
[Package probably version 1.0.3 Index]