Learn R Programming

BeeGUTS (version 1.5.0)

plot.beeSurvData: Plotting method for beeSurvData objects

Description

This is the generic plot S3 method for the beeSurvData 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 beeSurvData
plot(
  x,
  ...,
  xlab = "Time [d]",
  ylab1 = "Number of survivors",
  ylab2 = "Concentration",
  main = paste("Data from a", x$typeData, "test on", x$beeSpecies)
)

Value

A graphic with the input data

Arguments

x

An object of class beeSurvData

...

Additional parameters to generic plot function (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
data(betacyfluthrinChronic)
plot(betacyfluthrinChronic)

Run the code above in your browser using DataLab