Giorgio Garziano
2015-Sep-30 14:15 UTC
[R] dplyr complete.cases(.) works one way but not another
This works: filter(mydata, complete.cases(mydata)) About dplyr "pronoun dot", see: http://www.r-bloggers.com/dplyr-0-2/ -- GG [[alternative HTML version deleted]]
Dimitri Liakhovitski
2015-Sep-30 14:24 UTC
[R] dplyr complete.cases(.) works one way but not another
Thank you very much, got it: It's because complete.cases is an R base command. On Wed, Sep 30, 2015 at 10:15 AM, Giorgio Garziano <giorgio.garziano at ericsson.com> wrote:> This works: > > filter(mydata, complete.cases(mydata)) > > About dplyr "pronoun dot", see: > > http://www.r-bloggers.com/dplyr-0-2/ > > > -- > GG > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.-- Dimitri Liakhovitski
Giorgio Garziano
2015-Sep-30 14:38 UTC
[R] dplyr complete.cases(.) works one way but not another
The "pronoun dot" is used in conjunction with %>% in dplyr (which imports magrittr). See pag.9, paragraph "Placing lhs elsewhere in rhs call" of the document: https://cran.r-project.org/web/packages/magrittr/magrittr.pdf -- GG