[R] dplyr complete.cases(.) works one way but not another
dimitri.liakhovitski at gmail.com
Wed Sep 30 16:04:25 CEST 2015
I don't have a data set, but my question is very clear without it.
I have a data frame 'mydata' and want to reproduce in dplyr the
following R base command:
This dplyr command produces the expected result:
mydata %>% filter(complete.cases(.))
But this command doesn't work:
Error: object '.' not found
Why doesn't it work?
More information about the R-help