# 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)
Run the code above in your browser using DataLab