Skip to content
Prev 63081 / 63424 Next

Suggestion: Modify common hypothesis tests and models to work better with pipes

I am not saying this is wonderful but this does work:

  penguins |>
      subset(species != "Gentoo") |>
      stats:::t.test.formula(formula = bill_len ~ species)

Also there is a problem with t.test in that methods are not supposed
to have conflicting
signatures but

  > args(t.test)
  function (x, ...)
  NULL

  > args(stats:::t.test.formula)
  function (formula, data, subset, na.action = na.pass, ...)
  NULL
On Tue, Jun 10, 2025 at 6:39?AM M?ns Thulin <gausseliminering at gmail.com> wrote: