Learn R Programming

crunch (version 1.14.4)

ShojiOrder-slots: Manipulate VariableGroup and VariableOrder

Description

Manipulate VariableGroup and VariableOrder

Usage

"entities"(x, simplify = FALSE)
"entities"(x, simplify = FALSE)
"entities"(x, simplify = FALSE)
"entities"(x) <- value
"entities"(x) <- value
"name"(x)
"name"(x) <- value
"names"(x)
"names"(x)
"names"(x) <- value
"duplicates"(x)
"duplicates"(x)
"duplicates"(x)
"duplicates"(x) <- value
"duplicates"(x) <- value
"duplicates"(x) <- value

Arguments

x
a VariableGroup or VariableOrder
simplify
logical: should variable URLs inside of groups be flattened or preserved in their nested lists? Default is FALSE.
value
(1) For name, a character (length-1 vector); for names, a character vector of equal length to the number of VariableGroups beind 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. (2) For duplicates, logical for whether duplicate variable entries should be allowed in the VariableOrder.

Value

entities returns Variable references and VariableGroups; names returns group names; duplicates returns logical for whether duplicate variable entries should be allowed

See Also

VariableOrder

grouped