[R] Extract model from deriv3 or nls

2014-09-19 Thread Prof J C Nash (U30A)
, nls() is generally more efficient, but it is much more fragile -- trade-offs abound. Best, JN On 14-09-19 06:00 AM, r-help-requ...@r-project.org wrote: > Date: Thu, 18 Sep 2014 13:33:24 + > From: "Riley, Steve" > To: "r-help@r-project.org" > Subject:

[R] Extract model from deriv3 or nls

2014-09-18 Thread Riley, Steve
Hello! I am trying to figure out how to extract the model equation when using deriv3 with nls. Here is my example: # # Generate derivatives # Puro.fun2 <- deriv3(expr = ~(Vmax + VmaxT*state) * conc/(K + Kt * state + conc), name = c("Vmax","VmaxT","K","Kt"),