Description Usage Arguments Value Examples
This quick little function is a means for me to create the strings of environments and subsequently extract information back out.
1 | nameObject(func_inString, func_inPrefix, func_splitStr = FALSE)
|
func_inString |
This is the vector of numeric, or otherwise unique ID values for the environments to be created. Or if funcSplit == TRUE, then these are the names to be split. |
func_inPrefix |
This is the character string used as a prefix to identify environment objects |
func_splitStr |
A logical toggle of whether you are building or splitting the name |
A vector of character string of length equal to input.
1 2 3 | # Returns a standard named string
test_objectNames <- nameObject(1:10, "testObject")
nameObject(test_objectNames, "testObject", func_splitStr = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.