Description Usage Arguments Examples
Change the name of an object. Uses non-standard evaluation (NSE) to capture the unevaluted expressions given for its arguments (this should become clear in the examples below.) See changeObjectName_ for a version of this function that doesn't use NSE.
1 | changeObjectName(oldObj, newObj, overwriteExisting = TRUE)
|
oldObj |
the object that should have its name changed |
newObj |
the new name of the object |
overwriteExisting |
TRUE by default, should the function overwrite existing objects with the name newObj? |
1 2 | jake <- c(5, 6, 7)
changeObjectName(jake, john)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.