setget_methods: Set and get methods for classes in the 'wsyn' package

Description Usage Arguments Details Value Author(s) Examples

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

  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
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
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 set_* methods

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

1
2
3
4
5
times<-1:10
timescales<-1/c(1:10)
values<-matrix(1,length(times),length(timescales))
h<-tts(times,timescales,values)
get_times(h)

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