conf_matrix: Auxiliar (intern) function for calculating and exporting...

Description Usage Arguments Details Value Examples

View source: R/conf_mat.R

Description

Auxiliar (intern) function for calculating and exporting confusion matrix

Usage

1

Arguments

df

complete dataset with all events (by month)

ref

the reference model - Mod. Ford and Labosier

Details

This function is supposed to be used only in the context of the FD-Viz app

Value

melted data frame to draw plot. The function return some confusion matrix common statistics: - Accuracy - Cohen's Kappa - Specificity - Sensitivity - Precision - F1

Examples

1
2
3
all_fd <- process_all(de_tha_d,include_variables = T, data = 'station')$Series

confusion_matrix <- conf_matrix(all_fd, all_fd$`Osman et al.`)

pedroalencar1/fdClassify2 documentation built on Dec. 22, 2021, 7:38 a.m.