Description Usage Arguments Value
Will error if there is a problem setting names, which is better than silently returning NA Original Author: Mark Edmondson https://github.com/MarkEdmondson1234
1 | safe_set_names(data_frame, lookup_names)
|
data_frame |
Data.frame to change the names of |
lookup_names |
A named vector of the names of old_name = new_name |
A character vector of new names, or error if any NA's
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.