View source: R/plotDoseResponse.reproData.R
| plotDoseResponse.reproData | R Documentation |
reproData objectsThis is the generic plotDoseResponse S3 method for the reproData
class. It plots the number of offspring per individual-days as a function of
concentration at a given target time.
## S3 method for class 'reproData'
plotDoseResponse(
x,
xlab = "Concentration",
ylab = "Nb of offspring per ind.day",
main = NULL,
ylim = NULL,
target.time = NULL,
style = "ggplot",
log.scale = FALSE,
remove.someLabels = FALSE,
axis = TRUE,
addlegend = TRUE,
...
)
x |
an object of class |
xlab |
a label for the |
ylab |
a label for the |
main |
main title for the plot |
ylim |
|
target.time |
a numeric value corresponding to some observed time points in |
style |
graphical backend, can be |
log.scale |
if |
remove.someLabels |
if |
axis |
if |
addlegend |
if |
... |
Further arguments to be passed to generic methods |
The function plots the observed values of the reproduction rate (number of
reproduction outputs per individual-day) at a given time point as a function of
concentration. The 95 % Poisson confidence interval is added to each reproduction
rate. It is calculated using function pois.exact
from package epitools.
As replicates are not pooled in this plot, overlapped points are shifted on
the x-axis to help the visualization of replicates.
a plot of class ggplot
When style = "generic", the function calls the generic function
plot
When style = "ggplot", the function return an object of class
ggplot, see function ggplot
pois.exact
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.