dot: Index slot label specification

.R Documentation

Index slot label specification

Description

This function creates a index slot label specification. Any R symbol can serve as a label. .() is typically used in conjunction with %_%.

Usage

.(...)

Arguments

...

Index labels separated by commas optionally prefixed by "+" and "-" to indicate the index position (upper and lower respectively). If no prefix is provided, a lower index ("-") is assumed. This argument uses non-standard evaluation: any R symbol that is not a reserved keyword can be used.

Value

A named list of two character vectors representing the index label names and index position.

Examples

# three lower index slots
.(i, j, k)

# one lower and upper index
.(i, +j)

ricci documentation built on Sept. 9, 2025, 5:56 p.m.