Pull a single variable from a data.table as a vector.
pull.(.df, var = -1, name = NULL)
A data.frame or data.table
The column to pull from the data.table as:
a variable name
a positive integer giving the column position
a negative integer giving the column position counting from the right
Optional - specifies the column to be used as names for the vector.