accessSlot {SIAMCAT} | R Documentation |
This function is used internally by many accessors.
accessSlot(siamcat, slot)
siamcat |
an object of siamcat-class. |
slot |
A character string indicating the slot (not data class) of the component data type that is desired. |
Returns the component object specified by the argument slot
.
Returns NULL if slot does not exist.
# data(siamcat_example) accessSlot(siamcat_example, "label") accessSlot(siamcat_example, "model_list")