addranks {wsyn}R Documentation

Adds rank information to a coh or wlmtest object

Description

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

Usage

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")


[Package wsyn version 1.0.4 Index]