Re: [R] [EXTERNAL] Re: bug in Windows implementation of nlme::groupedData

2022-01-07 Thread John Fox
Dear Melissa, Normally, in evaluating a formula an R modeling function follows the scoping rules in ?formula; that is, "A formula object has an associated environment, and this environment (rather than the parent environment) is used by model.frame to evaluate variables that are not found in

Re: [R] [EXTERNAL] Re: bug in Windows implementation of nlme::groupedData

2022-01-07 Thread Key, Melissa
John, Thanks for your response. I agree that the definition of the data frame is poor (in my defense it came directly from the demo code, but I should have checked it more thoroughly). The good news is that your comments caused me to take a closer look at where X was defined, and I found the