CreateHeader | R Documentation |
A function that takes the first row of a dataframe and makes it the header
CreateHeader(dataframe)
dataframe |
This is a dataframe |
'CreateHeader()' returns a dataframe where the previous first row has now become the header.
df <- data.frame(x = c("Height",180), y = c("Weight", 160)) df CreateHeader(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.