On 8/9/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > You can get this from the returned object. Is that sufficient? > > > iris2 <- iris > > iris2[1,1] <- NA > > mf <- model.frame(Sepal.Length ~ Species, iris2, na.action = na.omit) > > attr(mf, "na.action") > 1 > 1 > attr(,"class") > [1] "omit" > > On 8/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Full_Name: Tristen Hayfield > > Version: 2.3.1 > > OS: Windows > > Submission from: (NULL) (130.113.139.87) > > > > > > It would be nice if model.frame.default() (and any other model.frame() > > functions) set the "na.omit" attribute on the returned d.f, so that the > > caller > > could determine what action was taken. > > > > ______________________________________________ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > >
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel