h_slots | R Documentation |
This helper function extracts requested slots from the S4 class object.
It is a simple wrapper of methods::slot()
function.
h_slots(object, names, simplify = FALSE)
object |
( |
names |
( |
simplify |
( |
list
with the slots extracted from object
according to names
,
or single slot if simplification is required and possible.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.