Skip to contents

Use this when you want to define the relationship between two variables.

Usage

rel(x, resp)

Arguments

x

The predictor variable. A bare name, c() of bare names, a tidyselect helper (requires data), or I(expr) for inline data.

resp

The response variable. Same rules as x.

Value

A rel / model_id S3 object.

Examples

rel(speed, dist)
#> -- Model Definition ------------------------------------------------------------ 
#> 
#> Model ID : rel 
#> Args : speed ; dist