Learn R Programming

rmonad (version 0.7.0)

view: Set the head of an Rmonad to a particular tag

Description

Will split on '/'

Usage

view(m, ...)

Arguments

m

Rmonad object

...

one or more tag strings specifying a unique node in the pipeline

Value

Rmonad object with head reset

Examples

Run this code
# NOT RUN {
library(magrittr)
m <- 256 %v>% sqrt %>% tag('a', 'b') %v>% sqrt
esc(view(m, 'a/b'))
funnel(view(m, 'a'), m) %*>% sum
# }

Run the code above in your browser using DataLab