ind.median: Indexes around median.

View source: R/wilcoxon.cut.test.R

ind.medianR Documentation

Indexes around median.

Description

Compute index of a proportion of values of group around the median

Usage

ind.median(group, prop)

Arguments

group

a vector with a calculable median

prop

a proportion between 0 and 1 of values to find around the median. The median is always returned among the indexes, and the proportion is symetricaly define around it.

Details

ind.median() is used in wilcoxon.cut.test() when prop>0. The value of the median is always excluded.

Value

The function return the vector of indexes of prop values around the median of the group

Author(s)

Julien Bousquet (2021)


Antoine-Masse/KefiR documentation built on Feb. 22, 2024, 5:54 a.m.