plot.beeSurvPred {BeeGUTS} | R Documentation |
Plotting method for beeSurvPred
objects
Description
This is the generic plot
S3 method for the beeSurvPred
class. It plots the predicted number of survivors for the exposure concentration entered by the user.
Usage
## S3 method for class 'beeSurvPred'
plot(
x,
...,
xlab = "Time [d]",
ylab1 = "Survival probability",
ylab2 = "Concentration",
main = paste("Predictions results for a BeeGUTS", x$modelType, "calibrated for",
x$beeSpecies)
)
Arguments
x |
An object of class |
... |
Additional parameters to generic plot functions (not used) |
xlab |
A character string for the label of the x-axis |
ylab1 |
A character string for the label of the y-axis of the survivor plots |
ylab2 |
A character string for the label of the y-axis of the concentration plots |
main |
A character string for the title label plot |
Value
A graphic with results of the forward prediction
Examples
dataPredict <- data.frame(time = c(1:10, 1:10, 1:10),
conc = c(rep(5, 10), rep(10, 10), rep(15, 10)),
replicate = c(rep("rep1", 10), rep("rep2", 10), rep("rep3", 10)),
NSurv = c(rep(5, 10), rep(10, 10), rep(15, 10)))
data(fitBetacyfluthrin_Chronic)
prediction <- predict(fitBetacyfluthrin_Chronic, dataPredict)
plot(prediction)
[Package BeeGUTS version 1.1.3 Index]