plot.reproData {morse} | R Documentation |
Plotting method for reproData
objects
Description
This is the generic plot
S3 method for the reproData
class.
It plots the cumulated number of offspring as a function of time.
Usage
## S3 method for class 'reproData'
plot(
x,
xlab,
ylab = "Cumulated Number of offspring",
main = NULL,
concentration = NULL,
style = "ggplot",
pool.replicate = FALSE,
addlegend = FALSE,
remove.someLabels = FALSE,
...
)
Arguments
x |
an object of class |
xlab |
label of the |
ylab |
label of the |
main |
main title for the plot |
concentration |
a numeric value corresponding to some concentration in
|
style |
graphical backend, can be |
pool.replicate |
if |
addlegend |
if |
remove.someLabels |
if |
... |
Further arguments to be passed to generic methods |
Value
a plot of class ggplot
Note
When style = "generic"
, the function calls the generic function
plot
When style = "ggplot"
, the function return an object of class
gg
and ggplot
, see function ggplot