
This post has NOT been accepted by the mailing list yet.
I have the following differential equations:
dCgd.dt = kad*y[1]kgd*y[1] # PK model equation gut d
dCld.dt= kad*y[1]rhydrmetd #pk model equation liver d
dCgl.dt = kal*y2[1]kgl*y2[1] # PK model equation gut l
dCll.dt= kal*y2[1]rhylrmetl #pk model equation liver l
# PK model equation
return(list(c(dCgd.dt,dCld.dt,dCgl.dt,dCll.dt),c(massbalance=sum())))
}
I am getting an error in my out statement:
Error in func(time, state, parms, ...) : object 'p' not found
out = dede(y=y0,times=times,func=model.LIDR,parms=parms)
Can some one tell me why and hot to fix the error?
