Adds Pointer Structure to R objects
add_pointer_struct(char, length)
A character vector.
The length of the returned object.
A character vector of the concatenated character string with sequential numbering
## For a single variable
add_pointer_struct("S", 3)
#> [1] "S1" "S2" "S3"
## For multiple variables
add_pointer_struct(c("S", "I"), length = 3)
#> [1] "S1" "S2" "S3" "I1" "I2" "I3"