[R] I am struggling with contrasts

Berwin A Turlach berw|n@tur|@ch @end|ng |rom gm@||@com
Tue Mar 10 12:28:01 CET 2020


G'day all,

On Tue, 10 Mar 2020 11:07:13 +0000
"Viechtbauer, Wolfgang (SP)"
<wolfgang.viechtbauer using maastrichtuniversity.nl> wrote:

> The linearHypothesis() function from the 'car' package does this.

The function glht() in the 'multcomp' package should also be able to do
this.  

The 'emmeans' package might also be useful.

Will be off-line for a while now, but might look at the example again
and how to do it with 'multcomp' or 'emmeans' later.

Cheers,

	Berwin



More information about the R-help mailing list