Plot filter values using ggplot2.

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

Examples

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