kruskal.test: Kruskal-Wallis Rank Sum Test

View source: R/kruskal.R

kruskal.testR Documentation

Kruskal-Wallis Rank Sum Test

Description

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

Usage

kruskal.test(data, dvs, between, 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 kruskal test

between

independent (between) variable in which perform the kruskal test

dv.var

column with the information to classify observations

as.table

logical value indicating that the result should be returned as table or as list

Value

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


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