Displaying 20 results from an estimated 4000 matches similar to: "Partial differential equation"
2012 Dec 03
2
Solving a multinomial gompertz partial differential equation in r
I haven't used r in quite a while but would like to get back into it. I
have a problem that I would like to solve with r. I have some multinomial
data that looks to follow an asymmetric sigmoidal growth pattern. Solving
a multinomial gompertz partial differential equation in r is what I’m after.
Would anyone be able to provide me the code and packages to do something
like this?
Regards,
2012 Jan 13
1
analytical solution of partial differential equation
i am trying to solve a partial differential equation analytically(PDE) in R .
i have found some functions that do the stuff numerically. But that will not
meet my purpose. is there any function to solve PDE analytically. please
help.
--
View this message in context: http://r.789695.n4.nabble.com/analytical-solution-of-partial-differential-equation-tp4291618p4291618.html
Sent from the R help
2012 Jul 18
1
Defining a variable outside of optim or differential equation solver.
This is applicable to either using optim or the differential equation
solver or any similar solver
Suppose I want to use the differential equation solver and this is my code
d<-y[2]
vdpol<-function(t,y)
{
list(c(1,
d,
3,
4
)
}
stiff<-ode(y=rep(0,4),times=c(0,1),func=dvdpol,parms=1)
The thing is I want d to be composed of one of state variables in the
2010 Nov 28
3
non-linear fourth-order differential equations
I need to solve a system of non-linear fourth-order differential
equations. Is there a command which solves this system?
Thanks in advance.
2017 Jun 21
4
How to apply a system of ordinary differential equations to a cell grid?
Hello,
I am developing an agent-based model to simulate the spread of infectious diseases in heterogeneous landscapes composed of habitat polygons (or clumps of connected cells). To simplify the model, I consider a habitat grid (or raster) containing the polygon ID of each cell. In addition, I have epidemiological parameters associated with each polygon ID. At each time step, the parameter values
2012 Jan 30
2
ode() tries to allocate an absurd amount of memory
Hi there R-helpers:
I'm having problems with the function ode() found in the package deSolve.
It seems that when my state variables are too numerous (>33000 elements),
the function throws the following error:
Error in vode(y, times, func, parms, ...) :
cannot allocate memory block of size 137438953456.0 Gb
In addition: Warning message:
In vode(y, times, func, parms, ...) : NAs
2008 Oct 15
1
parameter assessment in differential equation
Hi,
I'd like to know whether R is capable to assess parameters in a model
describing the kinetic of a pollutant adsorption onto activated carbon.
A common relation is for instance the Adam-Bohart-Thomas' one:
dx/dt = K1 * (qm-x)*C - K2x
where {K1,K2} are the unknown paramters and {qm,C} are known parameters
Of course I get experimental data sets of measured x as a function of time.
2013 Jan 03
1
R2OpenBUGS question with differential equations
Dear All,
Currently I am running the following code:
library(stats4)
library(odesolve)
library(rgenoud)
Input<-data.frame(SUB=c(1),time=c(0.5,3,10,15),lev=c(2.05,12.08,9.02,8))
XD<-500
IT<-3
diffeqfun<-function(time, y, parms) {
if(time<=IT)
dCpdt <- (XD/IT)/parms["Vol"] -
2017 Dec 20
1
Nonlinear regression
You also need to reply-all so the mailing list stays in the loop.
--
Sent from my phone. Please excuse my brevity.
On December 19, 2017 4:00:29 PM PST, Timothy Axberg <axbergtimothy at gmail.com> wrote:
>Sorry about that. Here is the code typed directly on the email.
>
>qe = (Qmax * Kl * ce) / (1 + Kl * ce)
>
>##The data
>ce <- c(15.17, 42.15, 69.12, 237.7, 419.77)
2012 Dec 05
2
stiff delay differential equations
Hello List,
Can you recommend me if odeSolve can handle stiff delay differential equations
with discontinuities? Or any other package?
Best,
-m
2017 Dec 20
1
Nonlinear regression
G'day Timothy,
On Tue, 19 Dec 2017 18:28:00 -0600
Timothy Axberg <axbergtimothy at gmail.com> wrote:
> Should I repost the question with reply-all?
Nope, we got all from Jeff's post. :)
> On Tue, Dec 19, 2017 at 6:13 PM, Jeff Newmiller
> <jdnewmil at dcn.davis.ca.us> wrote:
>
> > You also need to reply-all so the mailing list stays in the loop.
> >
2010 Apr 26
1
finite difference scheme for 2D differential equations
Hello everyone,
I am trying to solve 2D differential equations using finite difference
scheme in R. I have been able to work with the equations with only one
spatial dimensions but I want to extend it to the two dimensional problem.
For example i can simulate one dimensional diffusion using a code like the
following. But I want to write a similar code for,say, a two dimensional
diffusion
2017 Dec 20
0
Nonlinear regression
Should I repost the question with reply-all?
On Tue, Dec 19, 2017 at 6:13 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
wrote:
> You also need to reply-all so the mailing list stays in the loop.
> --
> Sent from my phone. Please excuse my brevity.
>
> On December 19, 2017 4:00:29 PM PST, Timothy Axberg <
> axbergtimothy at gmail.com> wrote:
> >Sorry about
2012 Mar 02
0
?Syntax on Taking differential on both sides of the equation in 'R'
Hi, I am using package deSolve to run some ordinary differential equations (ODE) as part of a mathematical modeling project. I have solved for the following equilibrium states: Seq1<-a*(1-Neq1)/(f*Veq1+m+d)
Ceq1<-(f*Seq1*Veq1+g*Ieq1+r*(1-Neq1)-b1*Veq1*Ieq1)/(b2+m+d+g)
Ieq1<-(-b2*Ceq1)-r*(1-Neq1)/(b1*Veq1-g-u)
Veq1<-o*(Ceq1+Ieq1)/e I want to take the differential of both sides of
2017 Jun 21
0
How to apply a system of ordinary differential equations to a cell grid?
> On Jun 21, 2017, at 12:48 PM, Marine Regis <marine.regis at hotmail.fr> wrote:
>
> Hello,
>
> I am developing an agent-based model to simulate the spread of infectious diseases in heterogeneous landscapes composed of habitat polygons (or clumps of connected cells). To simplify the model, I consider a habitat grid (or raster) containing the polygon ID of each cell. In
2017 Jul 17
0
How to apply a system of ordinary differential equations to a cell grid?
It seems that the method `iteration` in the function `ode` can be useful in my case:
> Method "iteration" is special in that here the function func should
> return the new value of the state variables rather than the rate of
> change. This can be used for individual based models, for difference
> equations, or in those cases where the integration is performed within
>
2008 Sep 16
2
odesolve dynload example
Hello R Developers,
This is my first foray into using c-code with R, so please forgive my
foolishness.
I had a look at the archives and did not find anything on this, so
hopefully I am not doubling up.
I have tried to use R cmd to create an object file from the odesolve
dynload example.
I am using windows and have just installed rtools, and have the latest
version of stable R (2..7.2).
This is
2017 Dec 19
3
Nonlinear regression
Hello, I am working on a small data set and trying to find values of Qmax
and Kl for the equation
qe = (Qmax * Kl * ce) / (1 + ?l* ce)
I found my Qmax and Kl through the linear model butam now trying to find
them through the "nls" function however an error comes up that I am
unfamiliar with. I have the file loaded for reference. Any help is
appreciated. Thank you.
-Timothy
2011 Jan 25
1
deSolve: Problem solving ODE including modulo-operator
I have a problem integrating the 'standard map' (
http://en.wikipedia.org/wiki/Standard_map
http://en.wikipedia.org/wiki/Standard_map ) with deSolve:
By using the modulo-operator '%%' with 2*pi in the ODEs (standardmap1), the
resulting values of P and Theta, should not be greater than 2pi. Because
this was not the case, i was thinking that the function 'ode' has some
2012 Oct 08
2
PKPD modelling in R
Dear all,
I have two questions:
1. Does anyone know if nlmeODE package will work once odesolve is discontinued? If i understand well nlmeODE depends on odesolve.
2. Can anyone suggest another package I could use to fit complex PKPD models (described using differential equations) to data?
Thanks a lot!
Magdalena