tests/testthat/_snaps/model-rq.md

returns the right output

Code
  rlang::expr_text(tf)
Output
  [1] "38.8714285714286 + (wt * -2.67857142857143) + (cyl * -1.74285714285714)"

returns one expression per quantile for multiple quantiles

Code
  lapply(tf, rlang::expr_text)
Output
  $quantile_0.25
  [1] "35.2495867768595 + (wt * -2.64462809917355) + (cyl * -1.37066115702479)"

  $quantile_0.50
  [1] "38.8714285714286 + (wt * -2.67857142857143) + (cyl * -1.74285714285714)"

  $quantile_0.75
  [1] "40.9812164579606 + (wt * -3.5778175313059) + (cyl * -1.2919946332737)"

an ordered factor is rejected

Code
  tidypredict_fit(model)
Condition
  Error in `acceptable_lm()`:
  ! The treatment contrast is the only one supported at this time. Field(s) with an invalid contrast are: "g".


Try the tidypredict package in your browser

Any scripts or data that you put into this service are public.

tidypredict documentation built on Oct. 18, 2026, 5:06 p.m.