I am sorry, it was my program's bug.
Yes, subset works!
Yes, nls works correctly!
I didn't pay enough attention to NAs.
NA threw off start value estimation in my program.
So, I got different results when I filtered NAs beforehand
and filtered by subset.
I also confused because subset does not appe
[EMAIL PROTECTED] writes:
> Full_Name: Tadashi Kadowaki
> Version: 2.4.0
> OS: Redhat Linux 9
> Submission from: (NULL) (58.12.166.67)
>
>
> Doesn't nls function support subset? It seems not to work.
> And, there are no information in the online help.
> Has it sunk into oblivion?
Whatever gave
This is not the place to ask a question: do read the FAQ.
?nls shows that nls does have a 'subset' argument, and it does work.
Compare
> ?nls
> x <- 1:10
> y <- 2*x + 3# perfect fit
> yeps <- y + rnorm(length(y), sd = 0.01) # added noise
> nls(yeps ~ a + b*x, start = l
Full_Name: Tadashi Kadowaki
Version: 2.4.0
OS: Redhat Linux 9
Submission from: (NULL) (58.12.166.67)
Doesn't nls function support subset? It seems not to work.
And, there are no information in the online help.
Has it sunk into oblivion?
__
R-devel@r-p