R/rm_confusion_matrix.R
plot.rm_confusion_matrix.Rd
This function plots confusion matrices after the decoding analysis has been run (and all results have been aggregated). This function can also plot mutual information calculated from the confusion matrix.
# S3 method for rm_confusion_matrix plot( x, ..., result_type = "zero_one_loss", plot_only_same_train_test_time = TRUE )
x | A rm_confusion_matrix object that has aggregated runs from a
decoding analysis, e.g., if DECODING_RESULTS are the output from the
run_decoding(cv) then this argument should be
|
---|---|
... | This is needed to conform to the plot generic interface. |
result_type | A string specifying the type of result to plot that can take the following values:
|
plot_only_same_train_test_time | A boolean indicating whether the
confusion matrices should only be plotted at the same training and test
times. If the |
Other result_metrics:
plot.rm_main_results()
,
rm_confusion_matrix()
,
rm_main_results()