Re: [Rd] subset argument in nls() and possibly other functions

2021-07-14 Thread Balasubramanian Narasimhan
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

Re: [Rd] subset argument in nls() and possibly other functions

2021-07-13 Thread Marc Schwartz via R-devel
Hi John, In scanning some of the more popular model functions (e.g. lm(), glm(), lme(), coxph(), etc.), none seem to provide examples of the use of the 'subset' argument, even though it is documented for them. That being said, there is some old (2003) documentation by Prof Ripley here: https

[Rd] subset argument in nls() and possibly other functions

2021-07-13 Thread J C Nash
In mentoring and participating in a Google Summer of Code project "Improvements to nls()", I've not found examples of use of the "subset" argument in the call to nls(). Moreover, in searching through the source code for the various functions related to nls(), I can't seem to find where subset is