set_ts {tsvr} | R Documentation |
Set and get methods for classes in the tsvr
package
Description
Set and get methods for classes in the tsvr
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_ts(obj, newval)
## Default S3 method:
set_ts(obj, newval)
set_tsvr(obj, newval)
## Default S3 method:
set_tsvr(obj, newval)
set_wts(obj, newval)
## Default S3 method:
set_wts(obj, newval)
get_ts(obj)
## Default S3 method:
get_ts(obj)
get_tsvr(obj)
## Default S3 method:
get_tsvr(obj)
get_wts(obj)
## Default S3 method:
get_wts(obj)
set_com(obj, newval)
## Default S3 method:
set_com(obj, newval)
set_comnull(obj, newval)
## Default S3 method:
set_comnull(obj, newval)
set_vr(obj, newval)
## Default S3 method:
set_vr(obj, newval)
get_com(obj)
## Default S3 method:
get_com(obj)
get_comnull(obj)
## Default S3 method:
get_comnull(obj)
get_vr(obj)
## Default S3 method:
get_vr(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 S3 classes defined in the package. 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
See Also
Examples
res<-vreq(com=2,comnull=1,vr=2)
get_com(res)
[Package tsvr version 1.0.2 Index]