Learn R Programming

crunch (version 1.14.4)

deleteVariables: Delete Variables Within a Dataset

Description

Delete Variables Within a Dataset

Usage

deleteVariables(dataset, variables, confirm = requireConsent())
deleteVariable(dataset, variables, confirm = requireConsent())

Arguments

dataset
the Dataset to modify
variables
aliases (following crunch.namekey.dataset) or indices of variables to delete.
confirm
logical: should the user be asked to confirm deletion. Default is TRUE if in an interactive session. You can avoid the confirmation prompt if you delete with(consent).

Value

(invisibly) dataset with the specified variables deleted

See Also

hide