Displaying 2 results from an estimated 2 matches for "richar".
Did you mean:
richard
2013 Feb 23
1
Issue with matrices within nested for-loops
....omit.data.frame(list(obs = c(0.414153096303487,
1.39649463342491, : subscript out of bounds*
Which I understand to mean that the bounds of the indicated vector/matrix
have been violated. I am however at a loss as to how to resolve this. Any
advice would be appreciated
Cheers!
JR
--
Jonathan Richar
Doctoral candidate
UAF SFOS Fisheries Division
17101 Pt. Lena Loop Rd.
University of Alaska Fairbanks
Juneau, AK 99801
Phone: (907) 796-5459
[[alternative HTML version deleted]]
2004 Jan 22
4
Fitting compartmental model with nls and lsoda?
...k2=0.5)),
+ data=C1.lsoda,
+ start=list(K1=0.3, k2=0.7),
+ trace=T
+ )
Error in eval(as.name(varName), data) : Object "C1.lsoda" not found
What part of the e-mail did I miss? I would like to get this problem up an running.
Now, I am including Richar Upton's 2 cm model implementation and Christoffer Tornoe's nls solution (I recommend Christoffer's nlmeODE package for these problems also if multi-response data is available) The code follows:
--------------------------------------------------------------
# Simulation of a 2 compartmen...