deleteSubvariables: Delete subvariables from an array
Description
This function conceals the dirty work in making this happen. The array
gets unbound, the subvariables deleted, and then the remaining subvariable
are rebound into a new array.Usage
deleteSubvariables(variable, to.delete)deleteSubvariable(variable, to.delete)
Arguments
variable
the array variable
to.delete
subvariable names to delete
Value
- a new version of variable without the indicated subvariables