log_kw: Returns a log p-value from a Kruskal-Wallis test for the...

View source: R/mr_funcs.R

log_kwR Documentation

Returns a log p-value from a Kruskal-Wallis test for the given data.

Description

Returns a log p-value from a Kruskal-Wallis test for the given data.

Usage

log_kw(feat.vec, group.vec)

Arguments

feat.vec

Vector of values to be tested.

group.vec

Vector of group labels. Assumed to be in the same order as 'feat.vec'.

Value

A list; 'log.p' containing the log p-value and 'group.residuals' (group mean rank - overall mean rank).


califano-lab/PISCES documentation built on Jan. 11, 2023, 5:34 a.m.