Learn R Programming

crunch (version 1.30.4)

ShojiOrder-slots: Manipulate VariableGroup and VariableOrder

Description

Manipulate VariableGroup and VariableOrder

Usage

# S4 method for OrderGroup
entities(x, simplify = FALSE)

# S4 method for ShojiOrder entities(x, simplify = FALSE)

# S4 method for list entities(x, simplify = FALSE)

# S4 method for OrderGroup entities(x) <- value

# S4 method for ShojiOrder entities(x) <- value

# S4 method for OrderGroup name(x)

# S4 method for OrderGroup name(x) <- value

# S4 method for ShojiOrder names(x) <- value

Value

  • entities returns Variable references and VariableGroups;

  • names returns group names;

Arguments

x

a VariableGroup or VariableOrder

simplify

logical: should variable URLs inside of groups be flattened or preserved in their nested lists? Default isFALSE.

value
  1. For name, a character (length-1 vector); for names, a character vector of equal length to the number of VariableGroups being modified; for entities, either a character vector of variable URLs or a list containing a combination of variable URLs and VariableGroups. Note that group names must be unique, should be greater than 0 characters long, and "ungrouped" is a reserved group name.

See Also

VariableOrder grouped