Learn R Programming

rmonad (version 0.7.0)

tag: Set the tag of an Rmonad object

Description

Set the tag of an Rmonad object

Usage

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

Run this code
# NOT RUN {
library(magrittr)
1 %>>% prod(2) %>% tag('a/b') %>>% prod(3) %>% get_tag

# }

Run the code above in your browser using DataLab