Description Usage Arguments Details Value Warning Note Author(s) See Also Examples
Converts objects derived from class Object to a list object that preserve the properties (data) and can be accessed using the same R syntax. It is primarly used to explore the data or to save the object as an R object independent of the original methods.
1 |
... |
Variables of class Object (or list containing some Object). |
In R.oo package, all objects are internally represented as enviroment objects (see R.oo package) to give the “by value” functionality. However, this representation is not suitable to save, retrive or explore the data as easy as common objects in R. This method converts an object derived from class Object to a common list object preserving all data except the original methods. It is very useful when an object of class Object contains other objects derived from same class Object.
Return a list containg all values of the object. If x
contains a list or other Object, these are represented also as a list.The original class of the object is stored in "Class." value.
The CPU time consumed by this method depends on the complexity of x
. It is commonly very fast but can be a nuisance when x
contains many nested objects of class Object (or many lists containing Objects).
If properties (values) inside an object Object contains a function object, the enviroment is set to .GlobalEnv
for convenience. This method is also implemented for list object because it could contain another Object.
Victor Trevino
Object
, reObject
, unObject.list
.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.