plot.lemna_result: Plot a Lemna scenario result

View source: R/plot.R

plot.lemna_resultR Documentation

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 class 'lemna_result'
plot(x, y, munit = "ug/m2", cunit = "ug/L", legend = TRUE, ...)

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

Value

a gridded plot

Examples

# 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))

lemna documentation built on April 3, 2025, 5:50 p.m.