Learn R Programming

wsyn (version 1.0.4)

addranks: 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.

See Also

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