Re: [R] nonlinear curve fitting on a torus

2008-04-14 Thread Sungsu
=9) I did not get an error, but the estimated h is 9 or 0, these are just boundaty values. I would like to appreciate your help. Sungsu UCR ps: you may use any sized two vectors for u and v with values from 0 to 2pi in the above equation. Original message Date: Sun, 13 Apr 2008 13

[R] nonlinear curve fitting on a torus

2008-04-12 Thread Sungsu
, SUNGSU KIM [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self

[R] nonlinear regression problem

2008-04-10 Thread Sungsu
)$value } ff=sum(1-cos(x-f)) ff } nlminb(c(1.,1,1),fun2,lower =c(0.0001,0,0), upper =c (1.,2*pi,2*pi)) This code runs ok, however the estimates of h, a and b are just the boundary values, which I think they are wrong. Please advise. I would appreciate your help.

[R] version 2.5.1 and version 2.3.1

2008-02-24 Thread Sungsu
oad table Could any one advise me what I could do to run my code in 2.5.1? Sincerely, SUNGSU KIM [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listi

[R] error messages

2007-09-22 Thread sungsu kim
Hi, I have a density that I need to get MLEs from, which includes definite integrals both in the denominator and in the numerator of the density function. It looks like the outcome depends on the initial values given. My program is shown below: library(circular) ##