Removes square brackets, numbers, and commas that represent the index of the node element in question. Returns just the node name.
drop_index(params)
params | Node names. |
---|
A character vector with the same length as params
, with no indices included.
For example, "a[1]"
becomes "a"
.
This is not a function users will generally use directly.