plot_mds: Plot MDS Configuration

View source: R/unsupervised-mds.R

plot_mdsR Documentation

Plot MDS Configuration

Description

Visualize MDS results

Usage

plot_mds(mds_obj, color_by = NULL, label_points = TRUE, dim_x = 1, dim_y = 2)

Arguments

mds_obj

A tidy_mds object

color_by

Optional variable to color points by

label_points

Logical; add point labels? (default: TRUE)

dim_x

Which dimension for x-axis (default: 1)

dim_y

Which dimension for y-axis (default: 2)

Value

A ggplot object


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.