set_adj {wsyn} | R Documentation |
Set and get methods for classes in the wsyn
package
Description
Set and get methods for classes in the wsyn
package. There
are methods for each slot of each class, named set_*
and
get_*
for *
the slot name. Below are listed function
specs for the generics and the default methods.
Usage
set_adj(obj, newval)
## Default S3 method:
set_adj(obj, newval)
set_clusters(obj, newval)
## Default S3 method:
set_clusters(obj, newval)
set_modres(obj, newval)
## Default S3 method:
set_modres(obj, newval)
set_mns(obj, newval)
## Default S3 method:
set_mns(obj, newval)
set_coords(obj, newval)
## Default S3 method:
set_coords(obj, newval)
set_methodspecs(obj, newval)
## Default S3 method:
set_methodspecs(obj, newval)
set_wmfs(obj, newval)
## Default S3 method:
set_wmfs(obj, newval)
set_wpmfs(obj, newval)
## Default S3 method:
set_wpmfs(obj, newval)
get_adj(obj)
## Default S3 method:
get_adj(obj)
get_clusters(obj)
## Default S3 method:
get_clusters(obj)
get_modres(obj)
## Default S3 method:
get_modres(obj)
get_mns(obj)
## Default S3 method:
get_mns(obj)
get_coords(obj)
## Default S3 method:
get_coords(obj)
get_methodspec(obj)
## Default S3 method:
get_methodspec(obj)
get_wmfs(obj)
## Default S3 method:
get_wmfs(obj)
get_wpmfs(obj)
## Default S3 method:
get_wpmfs(obj)
set_coher(obj, newval)
## Default S3 method:
set_coher(obj, newval)
set_dat1(obj, newval)
## Default S3 method:
set_dat1(obj, newval)
set_dat2(obj, newval)
## Default S3 method:
set_dat2(obj, newval)
set_norm(obj, newval)
## Default S3 method:
set_norm(obj, newval)
set_sigmethod(obj, newval)
## Default S3 method:
set_sigmethod(obj, newval)
set_ranks(obj, newval)
## Default S3 method:
set_ranks(obj, newval)
set_bandp(obj, newval)
## Default S3 method:
set_bandp(obj, newval)
get_coher(obj)
## Default S3 method:
get_coher(obj)
get_dat1(obj)
## Default S3 method:
get_dat1(obj)
get_dat2(obj)
## Default S3 method:
get_dat2(obj)
get_norm(obj)
## Default S3 method:
get_norm(obj)
get_sigmethod(obj)
## Default S3 method:
get_sigmethod(obj)
get_ranks(obj)
## Default S3 method:
get_ranks(obj)
get_bandp(obj)
## Default S3 method:
get_bandp(obj)
set_times(obj, newval)
## Default S3 method:
set_times(obj, newval)
set_timescales(obj, newval)
## Default S3 method:
set_timescales(obj, newval)
set_values(obj, newval)
## Default S3 method:
set_values(obj, newval)
get_times(obj)
## Default S3 method:
get_times(obj)
get_timescales(obj)
## Default S3 method:
get_timescales(obj)
get_values(obj)
## Default S3 method:
get_values(obj)
set_coefs(obj, newval)
## Default S3 method:
set_coefs(obj, newval)
set_modval(obj, newval)
## Default S3 method:
set_modval(obj, newval)
set_wts(obj, newval)
## Default S3 method:
set_wts(obj, newval)
get_coefs(obj)
## Default S3 method:
get_coefs(obj)
get_modval(obj)
## Default S3 method:
get_modval(obj)
get_wts(obj)
## Default S3 method:
get_wts(obj)
set_wlmobj(obj, newval)
## Default S3 method:
set_wlmobj(obj, newval)
set_drop(obj, newval)
## Default S3 method:
set_drop(obj, newval)
get_wlmobj(obj)
## Default S3 method:
get_wlmobj(obj)
get_drop(obj)
## Default S3 method:
get_drop(obj)
set_signif(obj, newval)
## Default S3 method:
set_signif(obj, newval)
get_signif(obj)
## Default S3 method:
get_signif(obj)
set_dat(obj, newval)
## Default S3 method:
set_dat(obj, newval)
set_wtopt(obj, newval)
## Default S3 method:
set_wtopt(obj, newval)
get_dat(obj)
## Default S3 method:
get_dat(obj)
get_wtopt(obj)
## Default S3 method:
get_wtopt(obj)
Arguments
obj |
An object of one of the classes defined in the package |
newval |
A newvalue of the slot in question, for the |
Details
There are methods for the tts
, wt
, wmf
,
wpmf
, coh
, wlm
, wlmtest
, and clust
classes. See documentation for the generator functions for these classes
(which in all cases have the same name as the class) for lists of slots
for each class.
Value
set_*
methods throw an error - setting of individual
slots is not allowed, as it breaks consistency with the other slots.
get_*
just returns the value in question.
Author(s)
Daniel Reuman, reuman@ku.edu
Examples
times<-1:10
timescales<-1/c(1:10)
values<-matrix(1,length(times),length(timescales))
h<-tts(times,timescales,values)
get_times(h)