R pull()

  • Commonly used with the dplyr package
  • Used to extract a column/variable from a data frame or tibble and turn the data into a vector

Syntax:

Arguments

  • .data: the data frame
  • var: the column position
  • name: Specifies the column to be used as a name for a vector
  • … for use by methods

Example

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top