insertCol | R Documentation |
Insert a column into a data.frame object
insertCol(x, ind, col.names = NULL, data = NA)
x |
data.frame |
ind |
Numeric vector. At which index(es) should the new column(s) be inserted. |
col.names |
Character vector. Name(s) of the new column(s). |
data |
Vector, matrix, array or data.frame. Default is NA. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.