powered by
Add a first column to a data.frame. This is most commonly used to append a term column to create a cor_df.
first_col(df, ..., var = "term")
Data frame
Values to go into the column
Label for the column, with the default "term"
first_col(mtcars, 1:nrow(mtcars))
Run the code above in your browser using DataLab