rvattach {rv} | R Documentation |
rvattach
rvattach(what, name='rvattach', overwrite=TRUE, impute=FALSE, ...)
what |
an rv object to be split up into a list of sub-vectors and attached |
name |
|
overwrite |
If TRUE , objects with identical names in the Workspace (.GlobalEnv) that are masking objects in the database to be attached will be deleted. |
impute |
If TRUE , the components of each sub-vector are imputed into the object with identical name in the Workspace and saved into the list. The object in the Workspace is not affected. |
... |
further arguments passed to or from other methods |
rvattach
takes an rv object, splits it up into a list
of sub-vectors
(using split.rv
) by their name attributes and attaches the list
to the search path.
For example, if the object to be processed has names x[1]
and y[3]
,
this will be split into a list of two sub-vectors, x
and y
,
and then attached.
If the option impute is TRUE
, the corresponding variables
with the same names are merged with the ones that are found in .GlobalEnv.
If the option overwrite is TRUE
, the objects with identical
names in the Workspace are deleted.
Jouni Kerman kerman@stat.columbia.edu http://www.stat.columbia.edu/~kerman
Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing Posterior Simulations Using Random Variable Objects. Technical report, Columbia University, New York.
#