Ooops need dplyr here
This commit is contained in:
@@ -749,10 +749,13 @@ dim(x)
|
|||||||
|
|
||||||
And we can still use it in a pipe:
|
And we can still use it in a pipe:
|
||||||
|
|
||||||
|
```{r, include = FALSE}
|
||||||
|
library(dplyr)
|
||||||
|
```
|
||||||
```{r}
|
```{r}
|
||||||
mtcars %>%
|
mtcars %>%
|
||||||
show_missings() %>%
|
show_missings() %>%
|
||||||
dplyr::mutate(mpg = ifelse(mpg < 20, NA, mpg)) %>%
|
mutate(mpg = ifelse(mpg < 20, NA, mpg)) %>%
|
||||||
show_missings()
|
show_missings()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user