Re: Did behavior of "paired" argument in t.test() change?

Ivan Krylov via R-help <[email protected]>
Newsgroups gmane.comp.lang.r.general
Message-ID <20251104204021.0e690228@Tarkus>
В Tue, 4 Nov 2025 11:22:57 -0600
Robert Baer via R-help <[email protected]> пишет:

> Errorin t.test.formula(value ~ time, data = data_long, paired =
> TRUE) :
> cannot use 'paired' in formula method

This was changed in R-4.4.0:
https://bugs.r-project.org/show_bug.cgi?id=14359

The news item (see news(grepl('paired', Text))) recommends the use of
Pair(x1, x2) ~ 1 instead of the 'paired' argument. A further fix is
currently in R-devel (but not R-patched): without it, Pair(x1, x2) does
not handle the 'subset' argument.

-- 
Best regards,
Ivan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.