| %.% | R Documentation |
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
X %.% expr
X %..% expr
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. |
a list, with results of the operations on the individual list elements.
X %..% expr: same as '
data(DTD)
DTD$data %.% shape
DTD$data %.% summary(.$shape)
DTD$data %..% summary(.$shape)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.