plot_mds: Plot a MDS object

View source: R/mds.R

plot_mdsR Documentation

Plot a MDS object

Description

Plot a MDS object

Usage

plot_mds(
  mdsobj,
  color_varname = NULL,
  highlight = FALSE,
  highlight.label = FALSE
)

Arguments

mdsobj

MDS object as returned by the function angedist::mds().

color_varname

String. Name of the variable used for the color aesthetic. For no color, color_varname = NULL (default).

highlight

Logical. Highlight MDS points that are identified as being highlighted by defining them through a variable called highlight in the dataframe mdsobj$df.

highlight.label

Logical. Label highlighted MDS points with text defined by the variable highlight.label in the dataframe mdsobj$df.

Value

A ggplot2 object.


phac-nml-phrsd/angedist documentation built on Nov. 27, 2022, 7:23 p.m.