Skip to content
Prev 59944 / 63424 Next

subset argument in nls() and possibly other functions

For the example provided below, the subsetting happens in evaluating the 
call to stats::model.formula in line 583 of nls.R 
(https://github.com/wch/r-source/blob/e91be22f6f37644e5a0ba74a3dfe504a3a29e9f7/src/library/stats/R/nls.R#L583) 
returning an appropriate (subsetted) data frame.

-Naras
On 7/13/21 4:21 PM, J C Nash wrote: