Learn R Programming

tsvr (version 1.0.2)

vreq_methods: Basic methods for the vreq class

Description

Set, get, summary, and print methods for the vreq class.

Usage

# S3 method for vreq
summary(object, ...)

# S3 method for vreq print(x, ...)

# S3 method for vreq set_com(obj, newval)

# S3 method for vreq set_comnull(obj, newval)

# S3 method for vreq set_vr(obj, newval)

# S3 method for vreq get_com(obj)

# S3 method for vreq get_comnull(obj)

# S3 method for vreq get_vr(obj)

Arguments

object, x, obj

An object of class vreq

...

Not currently used. Included for argument consistency with existing generics.

newval

A new value, for the set_* methods

Value

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

See Also

vreq

Examples

Run this code
# NOT RUN {
res<-vreq(com=2,comnull=1,vr=2)
print(res)
 
# }

Run the code above in your browser using DataLab