plot.streambugs: Plot the results of streambugs ODE run

View source: R/streambugs_plot.r

plot.streambugsR Documentation

Plot the results of streambugs ODE run

Description

Plot time series of all streambugs ODE state variables, for each reach, habitat and group, resulting from the run.streambugs function call.

Usage

## S3 method for class 'streambugs'
plot(x, y, inp = NA, ...)

Arguments

x

matrix with results derived by run.streambugs

y

same as par in run.streambugs

inp

same as inp in run.streambugs

...

additional argument for the plot function call

Examples

m <- streambugs.example.model.toy()
r <- run.streambugs(y.names=m$y.names, times=m$times,  par=m$par, inp=m$inp, C=TRUE)
plot(x=r$res, y=m$par, inp=m$inp)


streambugs documentation built on Feb. 16, 2023, 9:48 p.m.