rel() creates a rel Variable Mapper that reads as "relationship between
x and resp". Expressions are captured unevaluated, similar to how
ggplot2::aes() captures aesthetics.
Arguments
- x
The predictor variable. Accepts a bare name, a
c()of bare names, a tidyselect helper (requiresdataindefine_model()), orI(expr)for inline data.- resp
The response variable. Same rules as
x.