Open mbcann01 opened 8 months ago
Show them how to print without assigning. There is a lot of confusion about this. Add to the pipes chapter. Also, add that you can do both by adding print() to the end of the pipeline.
mtcars %>% mutate(mpg = mpg + 1) mtcars <- mtcars %>% mutate(mpg = mpg + 1) mtcars <- mtcars %>% mutate(mpg = mpg + 1) %>% print()
Show them how to print without assigning. There is a lot of confusion about this. Add to the pipes chapter. Also, add that you can do both by adding print() to the end of the pipeline.