Learn R Programming

see (version 0.5.2)

plot.see_cluster_analysis: Plot method for computing cluster analysis

Description

The plot() method for the parameters::cluster_analysis() function.

Usage

# S3 method for see_cluster_analysis
plot(x, data = NULL, n_columns = NULL, size = 0.6, ...)

Arguments

x

An object.

data

The original data used to create this object. Can be a statistical model or such.

n_columns

For models with multiple components (like fixed and random, count and zero-inflated), defines the number of columns for the panel-layout. If NULL, a single, integrated plot is shown.

size

Size of geoms. Depends on the context of the plot() function, so this argument may change size of points, lines or bars.

...

Arguments passed to or from other methods.

Value

A ggplot2-object.

Examples

Run this code
# NOT RUN {
library(parameters)
groups <- cluster_analysis(iris[, 1:4], 3)
plot(groups)
# }

Run the code above in your browser using DataLab