rx: Constructs a Verbal Expression

View source: R/constructor.R

rxR Documentation

Constructs a Verbal Expression

Description

Add this to the beginning of every verbal expression chain. This simply returns an empty character vector so that the next step in the chain can provide a value without explicitly writing value = "blah".

Usage

rx()

Examples

rx()

# this
rx() %>%
  rx_find("cat") %>%
  rx_anything() %>%
  rx_find("dog")

# instead of
rx_find(value = "cat") %>%
  rx_anything() %>%
  rx_find("dog")

VerbalExpressions/RVerbalExpressions documentation built on March 27, 2024, 8:20 a.m.