autoplot.Filter {mlr3viz} | R Documentation |
Plots for Filter Scores
Description
Visualizations for mlr3filters::Filter.
The argument type
controls what kind of plot is drawn.
Possible choices are:
-
"barplot"
(default): Bar plot of filter scores.
Usage
## S3 method for class 'Filter'
autoplot(object, type = "boxplot", n = Inf, theme = theme_minimal(), ...)
Arguments
object |
|
type |
(character(1)): |
n |
( |
theme |
( |
... |
(ignored). |
Value
Examples
if (requireNamespace("mlr3")) {
library(mlr3)
library(mlr3viz)
library(mlr3filters)
task = tsk("mtcars")
f = flt("correlation")
f$calculate(task)
head(fortify(f))
autoplot(f, n = 5)
}
[Package mlr3viz version 0.9.0 Index]