https://blog.davisvaughan.com
https://github.com/DavisVaughan
If you've used `filter()` to drop rows, you've likely had to sprinkle in `& !is.na(col)` all over the place. No more! `filter_out()`'s default behavior should line up much better with your expectations around `NA`s when dropping rows.
If you've used `filter()` to drop rows, you've likely had to sprinkle in `& !is.na(col)` all over the place. No more! `filter_out()`'s default behavior should line up much better with your expectations around `NA`s when dropping rows.
filter(
TRUE,
vs==1,
mpg>20,
)
filter(
TRUE,
vs==1,
)
Note how you don't have to remove the trailing comma from `vs == 1,`, so the diff is contained to one line.
filter(
TRUE,
vs==1,
mpg>20,
)
filter(
TRUE,
vs==1,
)
Note how you don't have to remove the trailing comma from `vs == 1,`, so the diff is contained to one line.