the_lhs: Find the "lhs" symbol in the pipeline

Description Usage Value Author(s) References Examples

View source: R/utilities.R

Description

This function finds the left-hand sided symbol in a magrittr pipe.

Usage

1

Value

Left-hand sided symbol as string in the magrittr pipe.

Author(s)

Steven Haesendonckx

References

https://github.com/tidyverse/magrittr/issues/115#issuecomment-173894787

Examples

1
2
3
4
5
6
library(magrittr)

## example
blah <- function(x) the_lhs()
adtte %>%
  blah()

visR-sandbox/visR-survival documentation built on Sept. 18, 2020, 6:21 p.m.