Dear Andreas,
I don't understand your question, because I can't see any fundamental
difference between differential equation models and any other R
function. So why not rewriting your diffeq. model in the same way like
the other example?
And, please use package "deSolve" instead of "odesolve" because (1) the
latter is deprecated and (2) the successor package deSolve is much more
flexible and powerful, and it has much better documentation and
examples, cf. http://desolve.r-forge.r-project.org
Thomas P.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.