# NOT RUN {
# It takes its argument by expression:
vars_pull(letters, c)
# Negative numbers select from the end:
vars_pull(letters, -3)
# You can unquote variables:
var <- 10
vars_pull(letters, !! var)
# }
Run the code above in your browser using DataLab