Learn R Programming

mlr (version 2.8)

plotFilterValues: Plot filter values using ggplot2.

Description

Plot filter values using ggplot2.

Usage

plotFilterValues(fvalues, sort = "dec", n.show = 20L, feat.type.cols = FALSE)

Arguments

fvalues
[FilterValues] Filter values.
sort
[character(1)] Sort features like this. “dec” = decreasing, “inc” = increasing, “none” = no sorting. Default is decreasing.
n.show
[integer(1)] Number of features (maximal) to show. Default is 20.
feat.type.cols
[logical(1)] Colors for factor and numeric features. FALSE means no colors. Default is FALSE.

Value

ggplot2 plot object.

See Also

Other filter: filterFeatures, generateFilterValuesData, getFilterValues, getFilteredFeatures, makeFilterWrapper, plotFilterValuesGGVIS

Other plot: plotBMRBoxplots, plotBMRRanksAsBarChart, plotBMRSummary, plotCalibration, plotCritDifferences, plotFilterValuesGGVIS, plotLearningCurveGGVIS, plotLearningCurve, plotPartialPredictionGGVIS, plotPartialPrediction, plotROCCurves, plotThreshVsPerfGGVIS, plotThreshVsPerf

Examples

Run this code
fv = generateFilterValuesData(iris.task, method = "chi.squared")
plotFilterValues(fv)

Run the code above in your browser using DataLab