Learn R Programming

MetaClean (version 1.0.0)

getBarPlots: Generate Bar Plots for the Seven Evaluation Measures

Description

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

Usage

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

Run this code
# NOT RUN {
# Create a list of bar plots for each evaluation measure
# }
# NOT RUN {
makeBarPlots(evalMeasuresDF = test_evalMeasures)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab