first_col | R Documentation |
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")
df |
Data frame |
... |
Values to go into the column |
var |
Label for the column, with the default "term" |
first_col(mtcars, 1:nrow(mtcars))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.