addranks: Adds rank information to a 'coh' or 'wlmtest' object

Description Usage Arguments Value Note Author(s) See Also

View source: R/addranks.R

Description

When a coh or wlmtets object is created, the ranks slot is NA. This function fills it in.

Usage

1
addranks(obj)

Arguments

obj

An object of class coh or wlmtest

Value

addranks returns another coh or wlmtest object with ranks slot now included. If obj$ranks was not NA, the object is returned as is.

Note

Internal function, no error checking performed

Author(s)

Thomas Anderson, anderstl@gmail.com, Jon Walter, jaw3es@virginia.edu; Lawrence Sheppard, lwsheppard@ku.edu; Daniel Reuman, reuman@ku.edu

See Also

coh, wlmtest, bandtest, browseVignettes("wsyn")


wsyn documentation built on June 19, 2021, 1:07 a.m.