marginalEffects: Calculate the effects of different ANOVA types

View source: R/marginalEffects.R

marginalEffectsR Documentation

Calculate the effects of different ANOVA types

Description

This function calculates the effects (differences in marginal means) of x according to the different ANOVA types

Usage

marginalEffects(
  means,
  freq,
  k.levels = NULL,
  type = c("I", "II", "III", "ATE"),
  fixed = NULL
)

Arguments

means

matrix of means, the columns denote the covariates and the rows the different x levels

freq

matrix of frequencies, the columns denote the covariates and the rows the different x levels

k.levels

numeric vector with the number of levels for all covariates (K1, K2, ...)

type

numeric or character vector denoting the ANOVA types to be calculated (allowed values are any of the following: "I", 1, "II", 2, "III", 3, "ATE")

fixed

numeric vector with the levels the corresponding covariates should be fixed to (NA for no fixing)


AlexSchauerte/unbANOVA documentation built on April 12, 2022, 2:40 a.m.