grapes-.-grapes: Operator to act on a list

%.%R Documentation

Operator to act on a list

Description

The operator acts on all elements of a list and returns a list of the results. The right hand side can be a name in which case the '$' operator is used to e

Usage

X %.% expr

X %..% expr

Arguments

X

the list on which to operate

expr

an expression, which is either a single name, in which case a the correponding '$'-operator is applied to the list, or a full expression, in which '.' takes the role of the selected element.

Value

a list, with results of the operations on the individual list elements.

Functions

  • X %..% expr: same as '

Examples

data(DTD)
DTD$data %.% shape
DTD$data %.% summary(.$shape)
DTD$data %..% summary(.$shape)

DistributionalDDA documentation built on Oct. 20, 2026, 5:06 p.m.