Learn R Programming

ctmva (version 1.6.0)

plot.mds.ct: Plot an mds.ct object

Description

Plots a curve representing of two continuous-time principal coordinates produced by mds.ct.

Usage

# S3 method for mds.ct
plot(
  x,
  npoints = 500,
  cols = viridis(50),
  title = "",
  size.axes = 11,
  samescale = TRUE,
  coords = 1:2,
  GOF.method = 1,
  digits = 1,
  ...
)

Value

None; just produces a plot.

Arguments

x

an object of class "mds.ct"

npoints

number of time points (equally spaced along the range of times) at which to plot the coordinates

cols

color scheme; viridis(50) by default

title

plot title

size.axes

size of axis titles

samescale

logical: Should the coordinates be plotted on the same scale?

coords

which two principal coordinates to plot (default is 1:2)

GOF.method

method to use for computing percent dissimilarity explained (see argument GOF of cmdscale)

digits

number of digits to display for percent dissimilarity explained

...

other arguments, passed to theme

Examples

Run this code
# see example for mds.ct

Run the code above in your browser using DataLab