Learn R Programming

mlr (version 2.9)

plotFilterValues: Plot filter values using ggplot2.

Description

Plot filter values using ggplot2.

Usage

plotFilterValues(fvalues, sort = "dec", n.show = 20L, feat.type.cols = FALSE, facet.wrap.nrow = NULL, facet.wrap.ncol = NULL)

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.
facet.wrap.nrow, facet.wrap.ncol
[integer()] Number of rows and columns for facetting. Default for both is NULL. In this case ggplot's facet_wrap will choose the layout itself.

Value

ggplot2 plot object.

See Also

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

Other plot: plotBMRBoxplots, plotBMRRanksAsBarChart, plotBMRSummary, plotCalibration, plotCritDifferences, plotFilterValuesGGVIS, plotLearningCurveGGVIS, plotLearningCurve, plotPartialDependenceGGVIS, plotPartialDependence, 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