test_contrasts: Custom contrasts

View source: R/rinterface.R

test_contrastsR Documentation

Custom contrasts

Description

This is a convenience function to test and extract estimates and information about custom contrast.

Usage

test_contrasts(object, contrasts, ...)

Arguments

object

a gamlj results object of the class 'gamlj'

contrasts

a named list with contrasts weights to test of the form list(factor1=c(a1,a2,b3), factor2=c(b1,b2,b3)). Multiple contrasts for the same factor can be tested. In this case, each contrast is tested independently.

...

all options accepted by a gamlj model function.

Value

an object of class

Author(s)

Marcello Gallucci

Examples

data(fivegroups)
fivegroups$Group<-factor(fivegroups$Group)
gmod<-GAMLj3::gamlj_lm(
  formula = Score ~Group,
  data = fivegroups)

em_means(gmod,formula =~Group)

mcfanda/gamlj documentation built on April 5, 2025, 6:59 p.m.