> On Dec 19, 2017, at 11:12 AM, EDUARDO GARCIA PORTUGUES
> wrote:
>
> Dear R-devel list,
>
> I realized that removing a predictor in lm through the "-"'s operator in
> formula() does not affect the complete cases that are considered. A minimal
> example is:
>
> summary(lm(Wind ~ ., data = air
Thanks; fixed in R-devel and R-patched.
Best,
luke
On Tue, 19 Dec 2017, Gábor Csárdi wrote:
FYI. Gábor
❯ R --vanilla -q
sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6
Matrix products: default
BLAS:
/Library/Fram
FYI. Gábor
❯ R --vanilla -q
> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6
Matrix products: default
BLAS:
/Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRblas.0.dylib
LAPACK:
/Library/Frameworks/R.fram
Dear R-devel list,
I realized that removing a predictor in lm through the "-"'s operator in
formula() does not affect the complete cases that are considered. A minimal
example is:
summary(lm(Wind ~ ., data = airquality))
# 42 observations deleted due to missingness
summary(lm(Wind ~ . - Ozone, d