Chuck Cleland wrote: > On 2/23/2008 9:13 AM, Robert Walters wrote: >> Chuck Cleland wrote:
Chuck, For the record, I might add that that the following two variants for subsetting worked equally well: fit1 <- lm(pore.pct ~ Db, subset(data.b, porosity == "macro ")) fit1 <- lm(pore.pct ~ Db, data.b[data.b$porosity == "macro ",]) So the problem was two-fold. I'll never know if any of the variations of subset I was typing were correct due to the "macro" error. Robert Walters ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.