row_to_var | R Documentation |
deprecated but remains for functional use. given a data frame takes the first row of the data frame and makes it the variable names and then removes the first row. this is useful when using rbind or when an imported dataset doesn't account for headers
row_to_var(df)
df |
a dataframe for which you want to turn the first row into variable names |
row_to_var_function()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.