Coerce S4 to list | R Documentation |
This method is a convenience function used to coerce an S4 object to a list.
This function will never be called directly, because
S4
is a virtual class;
however, it is useful to indicate that this function is intended to be
used generally with S4 objects.
setIs(hiveEntity, S4)
cannot be used
to ensure that this method is applied to Entity objects, as a conflict
results for any Entity subclass with a .Data part; as a workaround, the
definitions for classes that need to use this method are followed by a
call to setIs
with the parameter class2="S4"
to ensure that
they inherit the virtual class S4
.
Adam C. Gower agower@bu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.