getBarPlots: Generate Bar Plots for the Seven Evaluation Measures

Description Usage Arguments Value Examples

View source: R/getBarPlots.R

Description

Wrapper function for generating bar plots for each classifiers for each of the seven evaluation measures.

Usage

1
getBarPlots(evalMeasuresDF, emNames = "All")

Arguments

evalMeasuresDF

A dataframe with the following columns: Model, RepNum, PosClass.FScore, PosClass.Recall, PosClass.Precision, NegClass.FScore, NegClass.Recall, NegClass.Precision, and Accuracy. The rows of the dataframe will correspond to the results of a particular model and a particular round of cross-validation.

emNames

A list of names of the evaluation measures to visualize. Accepts the following: PosClass.FScore, PosClass.Recall, PosClass.Precision, NegClass.FScore, NegClass.Recall, NegClass.Precision, and Accuracy. Default is "All".

Value

A list of up to seven bar plots (one for each evaluation measure).

Examples

1
2
# Create a list of bar plots for each evaluation measure
makeBarPlots(evalMeasuresDF = test_evalMeasures)

MetaClean documentation built on Jan. 13, 2021, 6:30 p.m.