Learn R Programming

BeeGUTS (version 1.5.0)

plot.beeSurvValidation: Plotting method for beeSurvValidation objects

Description

This is the generic plot S3 method for the beeSurvValid class. It plots the number of survivors as a function of time as well as the reconstructed concentrations for "Acute_Oral" and "Acute_Contact" test types.

Usage

# S3 method for beeSurvValidation
plot(
  x,
  ...,
  xlab = "Time [d]",
  ylab1 = "Number of survivors",
  ylab2 = "Concentration",
  main = paste("Validation of a BeeGUTS model calibrated for", x$beeSpecies, "on a ",
    x$typeData, "for", x$beeSpeciesVal)
)

Value

A graphic with the results of the validation

Arguments

x

An object of class beeSurvValid

...

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

Examples

Run this code
# \donttest{
data(betacyfluthrinChronic) # Load dataset for validation
data(fitBetacyfluthrin_Chronic)
validation <- validate(fitBetacyfluthrin_Chronic, betacyfluthrinChronic)
plot(validation)
# }

Run the code above in your browser using DataLab