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
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
2 matches
Mail list logo