plot.simulate_rate {evolvability}R Documentation

Plot of simulate_rate object

Description

plot method for class 'simulate_rate'.

Usage

## S3 method for class 'simulate_rate'
plot(
  x,
  response = "rate_y",
  xlab = "Simulation timesteps",
  ylab = "Evolutionary rate of y",
  ...
)

Arguments

x

An object of class 'simulate_rate'.

response

The variable for the y-axis of the plot, can be 'rate_y', 'y', or 'x'.

xlab

A label for the x axis.

ylab

A label for the y axis.

...

Additional arguments passed to plot.

Details

No plot is returned if model = 'recent_evol'.

Value

plot A plot of the evolution of the traits x or y, or the evolution of the evolutionary rate of y (i.e. \sqrt{a + bx}) in the simulation.

Author(s)

Geir H. Bolstad

Examples

# See the vignette 'Analyzing rates of evolution'.

[Package evolvability version 2.0.0 Index]