Skip to content

Commit

Permalink
Merge pull request tidyverse#668 from csgillespie/patch-1
Browse files Browse the repository at this point in the history
Update introduction.Rmd
  • Loading branch information
hadley committed Oct 8, 2014
2 parents 40fd149 + 32c6717 commit e0ba9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ select(flights, -(year:day))

This function works similarly to the `select` argument to the `base::subset()`. It's its own function in dplyr, because the dplyr philosophy is to have small functions that each do one thing well.

There are a number of helper functions you can use within `select()`, like `starts_with()`, `ends_with()`, `matches()` and `contains()`. Theese let you quickly match larger blocks of variable that meet some criterion. See `?select` for more details.
There are a number of helper functions you can use within `select()`, like `starts_with()`, `ends_with()`, `matches()` and `contains()`. These let you quickly match larger blocks of variable that meet some criterion. See `?select` for more details.

You can rename variables with `select()` by using named arguments:

Expand Down

0 comments on commit e0ba9d2

Please sign in to comment.