Deleting variables requires confirmation. In an interactive session, you will be asked
to confirm. To avoid that prompt, or to delete subvariables from a
non-interactive session, wrap the call in with_consent() to give
your permission to delete.
deleteSubvariables(variable, to.delete)
deleteSubvariable(variable, to.delete)a new version of variable without the indicated subvariables
To delete the subvariables the function unbinds the array, deletes the subvariable, and then binds the remaining subvariables into a new array.