Learn R Programming

crunch (version 1.3.2)

index: Get the body of a Catalog

Description

The core of Catalog data is in its "index". These methods get and set that slot.

Usage

## S3 method for class 'ShojiCatalog':
index(x)

## S3 method for class 'ShojiCatalog': index(x) <- value

Arguments

x
a Catalog (VariableCatalog, Subvariables, or similar object)
value
For the setters, an appropriate-length list to assign

Value

  • Getters return the list object in the "index" slot; setters return x duly modified.