tag: Set the tag of an Rmonad object

Description Usage Arguments Value Examples

View source: R/access.R

Description

Set the tag of an Rmonad object

Usage

1
tag(m, ..., index = m@head)

Arguments

m

Rmonad object

...

one or more tags for the given nodes

index

character or integer vector, specifying the nodes which will be assigned the new tag

Value

Rmonad object with new tags

Examples

1
2
library(magrittr)
1 %>>% prod(2) %>% tag('a/b') %>>% prod(3) %>% get_tag

arendsee/rmonad documentation built on Dec. 19, 2020, 9:06 p.m.