conf_matrix | R Documentation |
Auxiliar (intern) function for calculating and exporting confusion matrix
conf_matrix(df, ref)
df |
complete dataset with all events (by month) |
ref |
the reference model - Mod. Ford and Labosier |
This function is supposed to be used only in the context of the FD-Viz app
melted data frame to draw plot. The function return some confusion matrix common statistics: - Accuracy - Cohen's Kappa - Specificity - Sensitivity - Precision - F1
all_fd <- process_all(de_tha_d,include_variables = T, data = 'station')$Series
confusion_matrix <- conf_matrix(all_fd, all_fd$`Osman et al.`)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.