autoplot.TaskClust | R Documentation |
Generates plots for mlr3cluster::TaskClust, depending on argument type
:
"pairs"
: Passes data and additional arguments down to
GGally::ggpairs()
(default).
## S3 method for class 'TaskClust' autoplot(object, type = "pairs", ...)
object |
(mlr3cluster::TaskClust). |
type |
(character(1)): |
... |
( |
ggplot2::ggplot()
object.
The theme_mlr3()
and viridis color maps are applied by default to all
autoplot()
methods. To change this behavior set
options(mlr3.theme = FALSE)
.
if (requireNamespace("mlr3")) { library(mlr3) library(mlr3cluster) library(mlr3viz) task = mlr_tasks$get("usarrests") head(fortify(task)) autoplot(task) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.