ancova.test: ANCOVA Test

View source: R/ancova.R

ancova.testR Documentation

ANCOVA Test

Description

This function provides a wrapper for rstatix::anova_test for the dependent variables 'dvs' including their effect sizes

Usage

ancova.test(
  data,
  dvs,
  between,
  covar,
  type,
  effect.size,
  dv.var = NULL,
  as.table = F
)

Arguments

data

a data.frame or list containing the data

dvs

numeric columns with the dependent variables to be used in the anova test

between

independent (between) variable in which perform the anova test

covar

column with the covariate information

type

the type of sums of squares for ANOVA. Allowed values are either 1, 2 or 3. Default value is 2.

effect.size

the effect size to be computed, being "ges" (generalized eta squared) or "pes" (partial eta squared) Default is "ges".

dv.var

column with the information to classify observations

as.table

logical value indicating that the result should be returned after to apply 'get.anova.table' function

within

independent (within) variable in which perform the anova test

wid

column with the unique identification

skewness

named list in which each name represent the column of skewness data

Value

A data.frame containing the results for the anova test and their effect sizes


geiser/rshinystatistics documentation built on Feb. 18, 2024, 6:07 p.m.