| wpmf_methods | R Documentation |
wpmf classSet, get, summary, and print methods for the wpmf class.
## S3 method for class 'wpmf' summary(object, ...) ## S3 method for class 'wpmf' print(x, ...) ## S3 method for class 'wpmf' set_times(obj, newval) ## S3 method for class 'wpmf' set_timescales(obj, newval) ## S3 method for class 'wpmf' set_values(obj, newval) ## S3 method for class 'wpmf' set_dat(obj, newval) ## S3 method for class 'wpmf' set_wtopt(obj, newval) ## S3 method for class 'wpmf' set_signif(obj, newval) ## S3 method for class 'wpmf' get_times(obj) ## S3 method for class 'wpmf' get_timescales(obj) ## S3 method for class 'wpmf' get_values(obj) ## S3 method for class 'wpmf' get_dat(obj) ## S3 method for class 'wpmf' get_wtopt(obj) ## S3 method for class 'wpmf' get_signif(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.wpmf produces a summary of a wpmf object.
A print.wpmf method is also available. For wpmf objects,
set_* and get_* methods are available for all slots,
i.e., * equal to times, timescales, wtopt,
values, dat, and signif. The set_* methods just throw an
error, to prevent breaking the consistency between the slots of a
wpmf object.
Daniel Reuman, reuman@ku.edu
wpmf
times<-1:30 #generate time steps #generate fake count data for 20 locations dat<-matrix(rpois(20*length(times),20),nrow=20,ncol=length(times)) dat<-cleandat(dat=dat,times=times,clev=2)$cdat #detrend and demean h<-wpmf(dat,times) get_times(h) summary(h) print(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.