Learn R Programming

lemna (version 1.0.2)

plot.lemna_result: Plot a Lemna scenario result

Description

Creates up to four plots in a gridded layout depicting

  1. Exposure (i.e. external) concentration, as well as damage (internal concentration, C_int) if available

  2. Internal toxicant mass (M_int)

  3. Population size as biomass (BM)

  4. Population size as number of fronds (FrondNo) if available

Usage

# S3 method for lemna_result
plot(x, y, munit = "ug/m2", cunit = "ug/L", legend = TRUE, ...)

Value

a gridded plot

Arguments

x

lemna_result object

y

unused parameter

munit

character, unit of internal mass, defaults to ug/m2

cunit

character, unit of exposure, defaults to ug/L

legend

logical, if TRUE then a legend is displayed, set to FALSE to hide legend, defaults to TRUE

...

unused parameter

Examples

Run this code
# Simulate a sample scenario and plot results
result <- lemna(metsulfuron)
plot(result)

# Hide the legend of the concentration plot
plot(result, legend=FALSE)

# Simulate and plot a scenario with changing environmental conditions
plot(lemna(focusd1))

Run the code above in your browser using DataLab