Thomas,
 
thanks for your reply. I will switch to desolve. Unfortunatelly, the differential equation can not be re-written to an analytical solution in this case (to the best of my knowledge) because it is a non-linear process, which may not have an exact analytical solution. Thank you 
 
Andras


________________________________
From: Thomas Petzoldt <thpe@simecol.de>
To: r-help@r-project.org 
Sent: Thursday, January 3, 2013 12:51 PM
Subject: Re: [R] R2OpenBUGS question with differential equations

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.
	[[alternative HTML version deleted]]


