reproFitTT
objectsThis is the generic plot
S3 method for the reproFitTT
class.
It plots the concentration-effect fit under target time reproduction
analysis.
# S3 method for reproFitTT
plot(
x,
xlab = "Concentration",
ylab = "Nb of offspring per ind/day",
main = NULL,
fitcol = "orange",
fitlty = 1,
fitlwd = 1,
spaghetti = FALSE,
cicol = "orange",
cilty = 2,
cilwd = 1,
ribcol = "grey70",
addlegend = FALSE,
log.scale = FALSE,
style = "ggplot",
...
)
a plot of class ggplot
an object of class reproFitTT
a label for the \(X\)-axis, by default Concentration
a label for the \(Y\)-axis, by default Nb of offspring per ind/day
main title for the plot
color of the fitted curve
line type of the fitted curve
width of the fitted curve
if TRUE
, the credible interval is represented by
multiple curves
color of the 95 % credible limits
line type of the 95 % credible limits
width of the 95 % credible limits
color of the ribbon between lower and upper credible limits.
Transparent if NULL
if TRUE
, adds a default legend to the plot
if TRUE
, displays \(X\)-axis in log-scale
graphical backend, can be 'ggplot'
or 'generic'
Further arguments to be passed to generic methods
The fitted curve represents the estimated reproduction rate at the target time as a function of the chemical compound concentration. The function plots 95% credible intervals for the estimated reproduction rate (by default the grey area around the fitted curve). Typically a good fit is expected to display a large overlap between the two types of intervals. If spaghetti = TRUE, the credible intervals are represented by two dotted lines limiting the credible band, and a spaghetti plot is added to this band. It consists of the representation of simulated curves using parameter values sampled in the posterior distribution (10% of the MCMC chains are randomly taken for this sample).