get_vector: Helper function to get the vector or column form df. If...

Description Usage Arguments Value

View source: R/drawing_utils.R

Description

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.

Usage

1
get_vector(df, vec)

Arguments

df

data frame with a column

vec

name of the column in df or vector of values

Value

vector


SawickiBartosz/tidycharts documentation built on Jan. 20, 2022, 8:25 p.m.