nameEnviron: This quick little function is a means for me to create the...

Description Usage Arguments Value Examples

View source: R/sourceSHAPE.R

Description

This quick little function is a means for me to create the strings of environments and subsequently extract information back out.

Usage

1
2
nameEnviron(func_Index, funcSplit = FALSE,
  funcBase = getOption("shape_envString"))

Arguments

func_Index

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.

funcSplit

A logical toggle of whether you are building or splitting the name

funcBase

This is the character string used as a prefix to identify environment objects

Value

A vector of character string of length equal to input.

Examples

1
2
3
# Returns a standard named string
test_envNames <- nameEnviron(1:10)
nameEnviron(test_envNames, funcSplit = TRUE)

rSHAPE documentation built on July 19, 2019, 5:05 p.m.

Related to nameEnviron in rSHAPE...