tsvr
packageSet 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.
set_ts(obj, newval)# S3 method for default
set_ts(obj, newval)
set_tsvr(obj, newval)
# S3 method for default
set_tsvr(obj, newval)
set_wts(obj, newval)
# S3 method for default
set_wts(obj, newval)
get_ts(obj)
# S3 method for default
get_ts(obj)
get_tsvr(obj)
# S3 method for default
get_tsvr(obj)
get_wts(obj)
# S3 method for default
get_wts(obj)
set_com(obj, newval)
# S3 method for default
set_com(obj, newval)
set_comnull(obj, newval)
# S3 method for default
set_comnull(obj, newval)
set_vr(obj, newval)
# S3 method for default
set_vr(obj, newval)
get_com(obj)
# S3 method for default
get_com(obj)
get_comnull(obj)
# S3 method for default
get_comnull(obj)
get_vr(obj)
# S3 method for default
get_vr(obj)
An object of one of the classes defined in the package
A newvalue of the slot in question, for the set_*
methods
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.
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.
# NOT RUN {
res<-vreq(com=2,comnull=1,vr=2)
get_com(res)
# }
Run the code above in your browser using DataLab