plot.net_cluster_diagnostics: Plot Method for net_cluster_diagnostics

View source: R/cluster_diagnostics.R

plot.net_cluster_diagnosticsR Documentation

Plot Method for net_cluster_diagnostics

Description

Delegates to the original clustering object's plot method (plot.net_clustering for distance-based diagnostics, plot.net_mmm_clustering or plot.net_mmm for model-based). The diagnostics object itself stores no plot geometry – it just keeps a reference to the source so the existing visual layer is reused.

Usage

## S3 method for class 'net_cluster_diagnostics'
plot(x, type = NULL, ...)

Arguments

x

A net_cluster_diagnostics object.

type

Character. Forwarded to the underlying plot method. Valid values for distance: "silhouette" (default), "mds", "heatmap", "predictors". Valid values for mmm: "posterior" (default), "covariates" / "predictors".

...

Forwarded to the underlying plot method.

Value

A ggplot object, invisibly.


Nestimate documentation built on July 11, 2026, 1:09 a.m.