[R] questions about nls

2003-06-09 Thread Mei-Chu Lo
. Mei-Chu Lo C0 Sav 0.6766 6.0875 1.6165 6.4249 1.8796 6.5374 2.4436 7.025 4.8872 7.5125 5.3759 7.625 5.7518 7.8499 7.218 8.0749 9.2105 8.1125 12.7067 9.4624 12.5939 10.025 16.203 11.7125 17.2932 12.0124 18.1578 12.5749 21.5413 12.6875 21.5413 13.0625 fn1-function(C0,k2,r){ m-matrix

[R] questions abtou nls

2003-06-09 Thread Mei-Chu Lo
The attached file equation in my previous e-mail does not go through (It was created by Microsoft word). I re-type the equations in Notepad and attach it now. Mei-Chu Lo C0 = C1 + K2*C1^2+ [Sum(i=3 to 25)(i*(K2/2)^(i-1) *C1^i]+ 26 * (K2/2)^25*r*C1^26 Sav = {5.8*(1-0.0018*C0)*C1+2^(2/3)*5.8