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

Description Usage Arguments Value Examples

View source: R/access.R

Description

Will split on '/'

Usage

1
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

1
2
3
4
library(magrittr)
m <- 256 %v>% sqrt %>% tag('a', 'b') %v>% sqrt
esc(view(m, 'a/b'))
funnel(view(m, 'a'), m) %*>% sum

arendsee/monadR documentation built on Dec. 16, 2020, 4:26 a.m.