Plotting method for reproData objects
This is the generic plot
S3 method for the reproData
class.
It plots the cumulated number of offspring as a function of time.
## 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, ... )
x |
an object of class |
xlab |
label of the X-axis |
ylab |
label of the Y-axis, by default |
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 |
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
# (1) Load the data data(cadmium1) # (2) Create an object of class 'reproData' cadmium1 <- reproData(cadmium1) # (3) Plot the reproduction data plot(cadmium1) # (4) Plot the reproduction data for a fixed concentration plot(cadmium1, concentration = 4.36, style = "generic")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.