Folks: Before I waste someone's time with a stupid bug report, could I get feedback as to whether the following really appears to be a (minor) bug?
Summary: get_all_vars does not seem to handle multiple responses correctly. Example: > y <- matrix(runif(12),nc=3) > x <- 1:4 > lmfit <-lm(y~x) > model.frame(lmfit) ## OK y.1 y.2 y.3 x 1 0.02159809 0.15593110 0.59007262 1 2 0.91169201 0.30725236 0.41035328 2 3 0.45079051 0.29174545 0.18771042 3 4 0.07983415 0.37301448 0.70319143 4 > get_all_vars(lmfit)## not OK ? y x NA NA 1 0.02159809 0.1559311 0.5900726 1 2 0.91169201 0.3072524 0.4103533 2 3 0.45079051 0.2917455 0.1877104 3 4 0.07983415 0.3730145 0.7031914 4 ## model.frame() gives correct response variable names; get_all_vars() does not. R version 3.0.2 (2013-09-25) Platform: i386-w64-mingw32/i386 (32-bit) Many thanks. -- Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." H. Gilbert Welch ______________________________________________ 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.