ExposeAttribute creates an S3 object
that exposes all attributes of any R object, by making
them accessible via methods $ and/or
$<-. attr_mode and attr_mode<- get and sets the
access mode of ExposeAttribute objects.
ExposeAttribute(object, ..., .MODE = "rw",
.VALUE = FALSE) attr_mode(x)
attr_mode(x) <- value
value
of attr_mode for details on the way of specifying
these.... should be considered as
attribute assignments, i.e. that the result object has
these attributes set with the specified values. In this
case all these attributes will have ExposeAttribute objectNULL to remove the ExposeAttribute wrapper, a
single character string to define a permission for all
atributes (e.g., 'rw' or 'r'), or a list
specifying access permission