Description Usage Arguments Value Examples
Use to add an identifying column to a data frame. For example, add a column called species and fill the column with the name of the species.
1 |
data |
A data frame |
col |
The column name to add (character, quoted) |
value |
The value to fill the column with, quoted for character vector. |
a data frame
1 | ## Not run: df <- addcol(data, "species", "myrtus communis")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.