Learn R Programming

crunch (version 1.18.0)

deleteVariables: Delete Variables Within a Dataset

Description

Deleting requires confirmation. In an interactive session, you will be asked to confirm. 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.

Usage

deleteVariables(dataset, variables)

deleteVariable(dataset, variables)

Arguments

dataset

the Dataset to modify

variables

aliases (following crunch.namekey.dataset) or indices of variables to delete.

Value

(invisibly) dataset with the specified variables deleted

See Also

hide