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