coh_methods {wsyn} | R Documentation |
Basic methods for the coh
class
Description
Set, get, summary, and print methods for the coh
class.
Usage
## S3 method for class 'coh'
summary(object, ...)
## S3 method for class 'coh'
print(x, ...)
## S3 method for class 'coh'
set_times(obj, newval)
## S3 method for class 'coh'
set_timescales(obj, newval)
## S3 method for class 'coh'
set_coher(obj, newval)
## S3 method for class 'coh'
set_dat1(obj, newval)
## S3 method for class 'coh'
set_dat2(obj, newval)
## S3 method for class 'coh'
set_wtopt(obj, newval)
## S3 method for class 'coh'
set_norm(obj, newval)
## S3 method for class 'coh'
set_sigmethod(obj, newval)
## S3 method for class 'coh'
set_signif(obj, newval)
## S3 method for class 'coh'
set_ranks(obj, newval)
## S3 method for class 'coh'
set_bandp(obj, newval)
## S3 method for class 'coh'
get_times(obj)
## S3 method for class 'coh'
get_timescales(obj)
## S3 method for class 'coh'
get_coher(obj)
## S3 method for class 'coh'
get_dat1(obj)
## S3 method for class 'coh'
get_dat2(obj)
## S3 method for class 'coh'
get_wtopt(obj)
## S3 method for class 'coh'
get_norm(obj)
## S3 method for class 'coh'
get_sigmethod(obj)
## S3 method for class 'coh'
get_signif(obj)
## S3 method for class 'coh'
get_ranks(obj)
## S3 method for class 'coh'
get_bandp(obj)
Arguments
object , x , obj |
An object of class |
... |
Not currently used. Included for argument consistency with existing generics. |
newval |
A new value, for the |
Value
summary.coh
produces a summary of a coh
object.
A print.coh
method is also available. For coh
objects,
set_*
and get_*
methods are available for all slots (see
the documentation for coh
for a list). The set_*
methods
just throw an error, to prevent breaking the consistency between the
slots of a coh
object.
Author(s)
Daniel Reuman, reuman@ku.edu
See Also
Examples
times<-1:100
dat1<-matrix(rnorm(1000),10,100)
dat2<-matrix(rnorm(1000),10,100)
dat1<-cleandat(dat1,times,1)$cdat
dat2<-cleandat(dat2,times,1)$cdat
norm<-"powall"
sigmethod<-"fast"
nrand<-10
h<-coh(dat1,dat2,times,norm,sigmethod,nrand)
get_times(h)
summary(h)
print(h)
[Package wsyn version 1.0.4 Index]