as_class_pred | R Documentation |
class_pred
objectas_class_pred()
provides coercion to class_pred
from other
existing objects.
as_class_pred(x, which = integer(), equivocal = "[EQ]")
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. |
x <- factor(c("Yes", "No", "Yes", "Yes"))
as_class_pred(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.