Description Usage Arguments Value
Read the column names of a data frame. If they match a target, then assign that data frame to a given variable name.
1 | assign_by_colnames_0(df, col.names, assigned_name, env = globalenv())
|
df |
a data frame |
col.names |
a character vector |
assigned_name |
The name that df will be assigned in env if its column names match col.names |
Alters the global environment, doesn't return any object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.