effect | R Documentation |
Two endpoints are calculated which describe the effects on biomass:
BM
, percent effect on biomass at the last time step of the simulation
r
, percent effect on the average growth rate of biomass
effect(...)
## Default S3 method:
effect(init, times, param, envir, duration, ...)
## S3 method for class 'lemna_scenario'
effect(x, init, times, param, envir, duration, ...)
... |
additional parameters passed on to |
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 |
x |
a |
numeric
, effect on biomass in percent (%) [0,100]
effect(default)
: All scenario parameters supplied as arguments
effect(lemna_scenario)
: Scenario parameters supplied as a lemna_scenario
object
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.