autoplot.TaskClust: Plot for Clustering Tasks

Description Usage Arguments Value Examples

View source: R/TaskClust.R

Description

Generates plots for mlr3cluster::TaskClust, depending on argument type:

Usage

1
2
## S3 method for class 'TaskClust'
autoplot(object, type = "pairs", ...)

Arguments

object

(mlr3cluster::TaskClust).

type

(character(1)):
Type of the plot. See description.

...

(any): Additional argument, passed down to the underlying geom or plot functions.

Value

ggplot2::ggplot() object.

Examples

1
2
3
4
5
6
7
8
library(mlr3)
library(mlr3cluster)
library(mlr3viz)

task = mlr_tasks$get("usarrests")

head(fortify(task))
autoplot(task)

mlr-org/mlr3viz documentation built on Oct. 13, 2021, 11:43 p.m.