Learn R Programming

crunch (version 1.3.2)

hideVariables: Hide and Unhide Variables Within a Dataset

Description

Hide and Unhide Variables Within a Dataset

Usage

hideVariables(dataset, variables = NULL, pattern = NULL,
  key = namekey(dataset), ...)

hiddenVariables(x) <- value

unhideVariables(dataset, variables = NULL, pattern = NULL, key = namekey(dataset), ...)

Arguments

dataset
the Dataset to modify
variables
names or indices of variables to (un)hide
pattern
optional regular expression to identify Variables to (un)hide
key
the Variable attribute to grep with the pattern. Default is "alias"
...
optional additional arguments to grep
x
same as dataset, for `hiddenVariables<-`
value
same as variables, for `hiddenVariables<-`

Value

  • (invisibly) dataset with the specified variables (un)hidden

See Also

hide