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, Pass_FScore, Pass_Recall, Pass_Precision, Fail_FScore, Fail_Recall, Fail_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: Pass_FScore, Pass_Recall, Pass_Precision, Fail_FScore, Fail_Recall, Fail_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)

KelseyChetnik/MetaClean documentation built on May 17, 2021, 5:33 a.m.