Description Usage Arguments Value Examples
Used in get_conf_mat but might be useful separately
| 1 | 
| x | Character or factor vector of class labels | 
Binary matrix of class membership.
| 1 2 | my_labels <- rep(c("a","b","c","d"), 5)
labels_to_matrix(my_labels)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.