effect {lemna}R Documentation

Effects on biomass

Description

Two endpoints are calculated which describe the effects on biomass:

Usage

effect(...)

## Default S3 method:
effect(init, times, param, envir, duration, ...)

## S3 method for class 'lemna_scenario'
effect(x, init, times, param, envir, duration, ...)

Arguments

...

additional parameters passed on to lemna() and deSolve::ode()

init

initial state of the model variables

times

numeric vector, output times for which model results are returned

param

named list, Lemna model parameters

envir

named list, contains time series data for each of the five environmental variables

duration

optional numeric, length of the simulated period to consider for effect calculation, period starts at the beginning of the simulation

x

a lemna_scenario object

Value

numeric, effect on biomass in percent (%) [0,100]

Methods (by class)

Examples

# effects in sample scenario
effect(metsulfuron)

# effects with modified environmental data
myenvir <- metsulfuron$envir
myenvir$tmp <- 20   # increase to 20°C
myenvir$conc <- 0.3  # constant exposure of 0.3 ug/L
effect(metsulfuron, envir=myenvir)

# calculate effects for the first seven days
effect(metsulfuron, duration=7)

[Package lemna version 1.0.1 Index]