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 = nrow(fvalues$data),
      filter = NULL,
      feat.type.cols = FALSE
    )

### Arguments

`fvalues` | (FilterValues) Filter values.
`sort` | (`character(1)`) Available options are: `"dec"`-> descending `"inc"` -> increasing `"none"` -> no sorting Default is decreasing.
`n.show` | (`integer(1)`) Number of features (maximal) to show. Default is to plot all features.
`filter` | (`character(1)`) In case `fvalues` contains multiple filter methods, which method should be plotted?
`feat.type.cols` | (`logical(1)`) Whether to color different feature types (e.g. numeric | factor). Default is to use no colors (`feat.type.cols = FALSE`).

### Value

ggplot2 plot object.

### See Also

Other filter: `filterFeatures()`, `generateFilterValuesData()`, `getFilteredFeatures()`, `listFilterEnsembleMethods()`, `listFilterMethods()`, `makeFilterEnsemble()`, `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.19.0 Index]