[R] integrate function
p.dalgaard at biostat.ku.dk
Wed Aug 25 22:44:09 CEST 2004
"Ronaldo Reis Jr." <chrysopa at insecta.ufv.br> writes:
> Is possible to integrate this diferential equation:
> dN/dt = Nr(1-(N/K))
> in R using the integrate() function?
> Or any other diferential equation?
Only if the right hand side does not depend on the dependent variable
(N in this case) -- just plain integrals.
> If yes, how?
> If no, anybody know any software on linux that make this?
The "odesolve" package in R.
Possibly, there's also stuff in Octave but I haven't looked lately.
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help