| .agree_classification | R Documentation |
Calculate classification performance indicators such as precision and recall.
.agree_classification(x, y, ids = NULL, category = NULL)
x |
Vactor with values. |
y |
Vector with sources, the first value is taken as ground truth source. To change the ground truth, use a factor and set the first factor level to the appropriate value. |
ids |
Vector of Case IDs. |
category |
If no category is provided, macro statistics are returned (along with the number of categories in the output). Provide a category to get the statistics for this category only. If values are boolean (TRUE / FALSE) and no category is provided, the category is always assumed to be "TRUE". |
A list with classification performance indicators.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.