Description Usage Arguments Value
Insert column in an object.
1 | insertColumn(x, col.index, col.name = NULL, data = NA)
|
x |
A |
col.index |
Column index of inserted column. |
col.name |
Column name of inserted column. If a column name is
specified, but the object has no existing column names, default names
(e.g. |
data |
Optional vector of data to insert in the new column. The length of this vector should be evenly divisible by the number of rows in the data frame. |
Input object with column inserted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.