Basic methods for the wlm class
Set, get, summary, and print methods for the wlm
class.
## S3 method for class 'wlm' summary(object, ...) ## S3 method for class 'wlm' print(x, ...) ## S3 method for class 'wlm' set_times(obj, newval) ## S3 method for class 'wlm' set_timescales(obj, newval) ## S3 method for class 'wlm' set_coefs(obj, newval) ## S3 method for class 'wlm' set_modval(obj, newval) ## S3 method for class 'wlm' set_coher(obj, newval) ## S3 method for class 'wlm' set_dat(obj, newval) ## S3 method for class 'wlm' set_wtopt(obj, newval) ## S3 method for class 'wlm' set_norm(obj, newval) ## S3 method for class 'wlm' set_wts(obj, newval) ## S3 method for class 'wlm' get_times(obj) ## S3 method for class 'wlm' get_timescales(obj) ## S3 method for class 'wlm' get_coefs(obj) ## S3 method for class 'wlm' get_modval(obj) ## S3 method for class 'wlm' get_coher(obj) ## S3 method for class 'wlm' get_dat(obj) ## S3 method for class 'wlm' get_wtopt(obj) ## S3 method for class 'wlm' get_norm(obj) ## S3 method for class 'wlm' get_wts(obj)
object, x, obj |
An object of class |
... |
Not currently used. Included for argument consistency with existing generics. |
newval |
A new value, for the |
summary.wlm
produces a summary of a wlm
object.
A print.wlm
method is also available. For wlm
objects,
set_*
and get_*
methods are available for all slots (see
the documentation for wlm
for a list). The set_*
methods
just throw an error, to prevent breaking the consistency between the
slots of a wlm
object.
Daniel Reuman, reuman@ku.edu
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<-2 pred<-c(1,3,4) norm<-"powall" h<-wlm(dat,times,resp,pred,norm) get_times(h) summary(h) print(h)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.