plot.rm_main_results: A plot function for the rm_main_results object

Description Usage Arguments See Also

View source: R/rm_main_results.R

Description

This function can create a line plot of the results or temporal cross-decoding results for the the zero-one loss, normalized rank and/or decision values after the decoding analysis has been run (and all results have been aggregated).

Usage

1
2
## S3 method for class 'rm_main_results'
plot(x, ..., result_type = "zero_one_loss", plot_type = "TCD")

Arguments

x

A rm_main_result object that has aggregated runs from a decoding analysis, e.g., if DECODING_RESULTS are the out from the run_decoding(cv) then this argument should be DECODING_RESULTS$rm_main_results.

...

This is needed to conform to the plot generic interface.

result_type

A string specifying the types of results to plot. Options are: 'zero_one_loss', 'normalized_rank', 'decision_values', or 'all'.

plot_type

A string specifying the type of results to plot. Options are 'TCD' to plot a temporal cross decoding matrix or 'line' to create a line plot of the decoding results as a function of time

See Also

Other result_metrics: plot.rm_confusion_matrix(), rm_confusion_matrix(), rm_main_results()


emeyers/NDTr documentation built on Aug. 8, 2020, 3:41 p.m.