anova.independent.kruskal.wallis: Kruskal-Wallis One-Way Analysis of Variance By Ranks

View source: R/anova.independent.kruskal.wallis.R

anova.independent.kruskal.wallisR Documentation

Kruskal-Wallis One-Way Analysis of Variance By Ranks

Description

Perform Kruskal-Wallis One-Way Analysis of Variance By Ranks (sometimes called Kruskal-Wallis H test).

Usage

## S3 method for class 'independent.kruskal.wallis'
anova(
  fx,
  data = NULL,
  tie.correct = T,
  alternative = c("two.sided", "greater", "less"),
  conf.level = 0.95
)

Arguments

fx

A formula defining groups and a dependent variable

data

A data frame that corresponds to the formulas in fx.

tie.correct

Tie correction (T/F)

alternative

Alternative hypothesis to be tested

conf.level

Confidence level for test

Value

htest object containing results of the test.


burrm/lolcat documentation built on Sept. 15, 2023, 11:35 a.m.