R/drawing_utils.R
get_vector.Rd
Helper function to get the vector or column form df. If vector is passed it returns it. If name of column is passed, it returns the column as a vector.
get_vector(df, vec)
df | data frame with a column |
---|---|
vec | name of the column in df or vector of values |
vector