jh_extend: Jonckheere function that can handle data both with ties and...

Description Usage Arguments Value Examples

View source: R/jh_extend.R

Description

Jonckheere function that can handle data both with ties and without ties.

Usage

1
jh_extend(x, gr)

Arguments

x

the multi-group data (vector)

gr

the group index for the data (numeric/factor)

Value

a list that contains the value of J statistics and p.value

Examples

1
2
3
4
5
6
## Not run: 
 data(m)
 attach(m)
 jh_extend(medical,gr)

## End(Not run)

XixuHu/SC19090 documentation built on Jan. 2, 2020, 8:40 p.m.