monotonicity: Summarize results from 'pttest'

Description Usage Arguments Details Value Author(s) Examples

Description

Translate results from pttest into the four categories: overall upward trend (up), overall downward trend (down), no significant trend (none), significant non-monotonicity (anti).

Usage

1
monotonicity(o,alpha)

Arguments

o

result object from pttest

alpha

desired alpha level for the test

Details

Translate results from pttest into the four categories: overall upward trend (up), overall downward trend (down), no significant trend (none), significant non-monotonicity (anti).

Value

A vector of length corresponding to the number of tests coding each result as either "up","down","none", or "anti".

Author(s)

Florian Klinglmueller <float_at_lefant.net>

Examples

1
2
3
4
5
6
7
groups <- rep(1:4,each=18)
ind <- rep(rep(1:3,each=6),4)
tdir <- sample((1:3)-2,100,rep=TRUE)
data <- matrix(rnorm(7200),nc=72)+(tdir %*% t(groups))
out <- pttest(data,groups,B=1000,rep=ind)
sigdir <- monotonicity(out)
table(sigdir)

floatofmath/orQA documentation built on May 16, 2019, 1:21 p.m.