tsvreq_methods {tsvr}R Documentation

Basic methods for the tsvreq class

Description

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

Usage

## 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

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)
 

[Package tsvr version 1.0.2 Index]