unbalancedANOVA: Show differences between all ANOVA types

View source: R/unbalancedANOVA.R

unbalancedANOVAR Documentation

Show differences between all ANOVA types

Description

This function calculates the marginal means, effects (differences in marginal means) and sum of squares of x according to the different ANOVA types. Additionaly it calculates different attributes (Is data balanced? Is data proportional? ...) and function call information (What was the means- and freq-matrix? ...)

Usage

unbalancedANOVA(
  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.