wlmtest_methods: Basic methods for the 'wlmtest' class

Description Usage Arguments Value Author(s) See Also Examples

Description

Set, get, summary, and print methods for the wlmtest class.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## S3 method for class 'wlmtest'
summary(object, ...)

## S3 method for class 'wlmtest'
print(x, ...)

## S3 method for class 'wlmtest'
set_wlmobj(obj, newval)

## S3 method for class 'wlmtest'
set_drop(obj, newval)

## S3 method for class 'wlmtest'
set_signif(obj, newval)

## S3 method for class 'wlmtest'
set_ranks(obj, newval)

## S3 method for class 'wlmtest'
set_bandp(obj, newval)

## S3 method for class 'wlmtest'
get_wlmobj(obj)

## S3 method for class 'wlmtest'
get_drop(obj)

## S3 method for class 'wlmtest'
get_signif(obj)

## S3 method for class 'wlmtest'
get_ranks(obj)

## S3 method for class 'wlmtest'
get_bandp(obj)

Arguments

object, x, obj

An object of class wlmtest

...

Not currently used. Included for argument consistency with existing generics.

newval

A new value, for the set_* methods

Value

summary.wlmtest produces a summary of a wlmtest object. A print.wlmtest method is also available. For wlmtest objects, set_* and get_* methods are available for all slots (see the documentation for wlmtest for a list). The set_* methods just throw an error, to prevent breaking the consistency between the slots of a wlmtest object.

Author(s)

Daniel Reuman, reuman@ku.edu

See Also

wlmtest

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
times<-1:30
dat<-list(v1=matrix(rnorm(300),10,30),v2=matrix(rnorm(300),10,30),v3=matrix(rnorm(300),10,30),
          v4=matrix(rnorm(300),10,30),v5=matrix(rnorm(300),10,30))
dat<-lapply(FUN=function(x){cleandat(x,times,1)$cdat},X=dat)
resp<-1
pred<-2:3
norm<-"powall"
wlmobj<-wlm(dat,times,resp,pred,norm)
drop<-3
sigmethod<-"fft"
h<-wlmtest(wlmobj,drop,sigmethod,nrand=10)
get_times(get_wlmobj(h))
summary(h)
print(h)

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