Skip to contents

Function to plot multivariate evolutionary sequence (time-series), showing trait means over time.

Usage

plotevoTS.multivariate(
  yy,
  nse = 1,
  col = NULL,
  lty = NULL,
  lwd = NULL,
  pch = NULL,
  x.label = NULL,
  y.label = NULL,
  y_min = NULL,
  y_max = NULL,
  cex.axis = NULL,
  cex.lab = NULL,
  cex.main = NULL,
  axes = NULL
)

Arguments

yy

a multivariate evoTS object

nse

the number of standard errors represented by the error bars on the plot; default is 1

col

vector indicating colors

lty

line type

lwd

line width

pch

plotting symbols

x.label

label on x axis

y.label

label on y axis

y_min

minimum value of y axis

y_max

maximum value of y axis

cex.axis

Specify the size of the tick label numbers/text

cex.lab

specify the size of the axis label

cex.main

specify the size of the title text

axes

logical, whether to plot axes or not

Value

The results are plotted.

Author

Kjetil Lysne Voje

Examples

## Generate two evolutionary sequences (time-series)
x1 <- paleoTS::sim.Stasis(60, vp=1)
x2 <- paleoTS::sim.Stasis(60, vp=1)

## Make a multivariate data set
x1_x2<-make.multivar.evoTS(x1, x2)

## Plot the data
plotevoTS.multivariate(x1_x2, y_min=-1, y_max=1)