[R] DeSolve package

Andre Jackson jacksonan1945 at gmail.com
Thu Oct 15 20:17:49 CEST 2015


I have the following differential equations and return list:

dCgd.dt = -kad*y[1]-kgd*y[1]     # PK model equation gut d

  dCld.dt= kad*y[1]-rhyd-rmetd       #pk model equation liver d

  dCgl.dt = -kal*y2[1]-kgl*y2[1]     # PK model equation gut l

  dCll.dt= kal*y2[1]-rhyl-rmetl       #pk model equation liver l

  

            # PK model equation

  return(list(c(dCgd.dt,dCld.dt,dCgl.dt,dCll.dt),c(massbalance=sum())))

}

 

For the DDE solve I have :

out = dede(y=y0,times=times,func=model.LIDR,parms=parms)

 

This gives me the following error:

Error in func(time, state, parms, ...) : object 'p' not found

 

Can someone explain this error and its remedy?

Andre Jackson

Jacksonan1945 at gmail.com

"You must be the change you wish the world to be"

 


	[[alternative HTML version deleted]]



More information about the R-help mailing list