View source: R/simulate_rate.R
plot.simulate_rate | R Documentation |
plot
method for class 'simulate_rate'
.
## S3 method for class 'simulate_rate' plot( x, response = "rate_y", xlab = "Simulation timesteps", ylab = "Evolutionary rate of y", ... )
x |
An object of class |
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 |
No plot is returned if model = 'recent_evol'.
plot
A plot of the evolution of the traits x or y, or the
evolution of the evolutionary rate of y (i.e. √{a + bx}) in the
simulation.
Geir H. Bolstad
# See the vignette 'Analyzing rates of evolution'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.