Delete Variables Within a Dataset
This function permanently deletes a variable from a dataset.
deleteVariables(dataset, variables) deleteVariable(dataset, variables)
dataset |
the Dataset to modify |
variables |
aliases (following |
In an interactive session, you will be prompted to confirm that you
wish to delete the variable. To avoid that prompt, or to delete variables from a
non-interactive session, wrap the call in with_consent()
to give
your permission to delete.
(invisibly) dataset
with the specified variables deleted
delete()
; deleteSubvariable()
; For a non-destructive
alternative, see hide()
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.