Learn R Programming

visR (version 0.4.1)

the_lhs: Find the "lhs" in the pipeline

Description

This function finds the left-hand sided symbol in a magrittr pipe and returns it as a character.

Usage

the_lhs()

Arguments

Value

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

References

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

Examples

Run this code
blah <- function(x) the_lhs()
adtte %>%
  blah()

Run the code above in your browser using DataLab