Description Usage Arguments Details Value See Also
Takes a list of column names and creates them. Optionally uses a template to copy across factor/character mappings.
1 2 3 |
.self |
Data frame |
... |
Additional parameters |
.dots |
Workaround for non-standard evaluation |
This function is used to create new columns in a data frame. Specifying
just the name will create a new numeric column. If specified in the form
of var=template
, then a new column named var
will be
created using template
as a template. This is useful for creating
new factors.
Data frame
Other column manipulations: add_rownames
,
rename
, select
,
undefine
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.