streambugs.write.sys.def {streambugs} | R Documentation |
Write system definition of the streambugs ODE model
Description
Write system definition of the streambugs ODE model into a human-readable text file.
Usage
streambugs.write.sys.def(sys.def, file = NA)
Arguments
sys.def |
system definition generated by the function
|
file |
file name |
Examples
m <- streambugs.example.model.toy()
sys.def <- streambugs.get.sys.def(y.names=m$y.names, par=m$par, inp=m$inp)
file.name <- tempfile(m$name, fileext=".dat")
streambugs.write.sys.def(sys.def, file.name)
file.show(file.name, delete.file=TRUE)
[Package streambugs version 1.4 Index]