R: Plot filter values using ggplot2.

plotFilterValues {mlr} | R Documentation

## 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`, `getFilteredFeatures`, `listFilterMethods`, `makeFilterWrapper`, `makeFilter`

Other generate_plot_data: `generateCalibrationData`, `generateCritDifferencesData`, `generateFeatureImportanceData`, `generateFilterValuesData`, `generateLearningCurveData`, `generatePartialDependenceData`, `generateThreshVsPerfData`

### Examples

    fv = generateFilterValuesData(iris.task, method = "variance")
    plotFilterValues(fv)

[Package mlr version 2.14.0 Index]