names_pos<- | R Documentation |
names_pos<-
rename the columns at the indexes of pos
.
names_pos(x, pos) <- value
x |
A data frame. |
pos |
Numeric. The index of columns for name change. |
value |
Characters. The new column names. |
The data frame with new names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.