order_kruskal: Order features by Kruskal-Wallis test

View source: R/order.r

order_kruskalR Documentation

Order features by Kruskal-Wallis test

Description

This function orders all features in terms of Kruskal-Wallis test p-value.

Usage

order_kruskal(X, y)

Arguments

X

Input matrix, of dimension nobs by nvars; each row is an observation vector.

y

Vector of response variables.

Value

Order of all features of length nvars.

Examples

data("diabetes392")
order_kruskal(diabetes392$X, diabetes392$y)


longhaiSK/HTLR documentation built on Nov. 15, 2024, 10:16 a.m.