tsvreq_methods: Basic methods for the 'tsvreq' class

Description Usage Arguments Value Author(s) See Also Examples

Description

Set, get, summary, print and plot methods for the tsvreq class.

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
## S3 method for class 'tsvreq'
summary(object, ...)

## S3 method for class 'tsvreq'
print(x, ...)

## S3 method for class 'tsvreq'
plot(x, filename = NA, ...)

## S3 method for class 'tsvreq'
set_ts(obj, newval)

## S3 method for class 'tsvreq'
set_com(obj, newval)

## S3 method for class 'tsvreq'
set_comnull(obj, newval)

## S3 method for class 'tsvreq'
set_tsvr(obj, newval)

## S3 method for class 'tsvreq'
set_wts(obj, newval)

## S3 method for class 'tsvreq'
get_ts(obj)

## S3 method for class 'tsvreq'
get_com(obj)

## S3 method for class 'tsvreq'
get_comnull(obj)

## S3 method for class 'tsvreq'
get_tsvr(obj)

## S3 method for class 'tsvreq'
get_wts(obj)

Arguments

object, x, obj

An object of class tsvreq

...

Passed to plot. Not currently used for other methods, included there only for argument consistency with existing generics.

filename

A filename, no extension, could have a path. Used for saving a plot as a pdf. The default value NA causes the default plotting device to be used.

newval

A new value, for the set_* methods

Value

summary.tsvreq produces a summary of a tsvreq object. Methods print.tsvreq and plot.tsvreq are also available. For tsvreq objects, set_* and get_* methods are available for all slots (see the documentation for tsvreq for a list). The set_* methods just throw an error, to prevent breaking the consistency between the slots of a tsvreq object.

Author(s)

Daniel Reuman, reuman@ku.edu

See Also

tsvreq

Examples

1
2
3
4
5
6
res<-tsvreq(ts=1:10,com=2*c(1:10),comnull=1:10,tsvr=rep(2,10),wts=rep(3,10))
get_ts(res)
print(res)
summary(res)
plot(res)
 

reumandc/tsvr documentation built on Jan. 17, 2021, 10:32 p.m.