powered by
Pull (extract) data from a data frame
pull_data(.data, ...)
Input data frame
Unquoted name of column to pull from data frame
A column pulled from its data frame (inheriting whatever class the column is)
# NOT RUN { ## pull the 'y' variable from the data frame tbl_data(x = rnorm(5), y = letters[1:5]) %>% pull_data(y) # }
Run the code above in your browser using DataLab