accessSlot {SIAMCAT} | R Documentation |
This function is used internally by many accessors.
accessSlot(siamcat, slot, verbose=1)
siamcat |
an object of siamcat-class. |
slot |
A character string indicating the slot (not data class) of the component data type that is desired. |
verbose |
If the slot is empty, should a message be printed? values can be either 0 (no output) or 1 (print message) |
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")