Description Usage Arguments Value Examples
View source: R/siamcat_class_accessors.R
This function is used internally by many accessors.
1 | 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.
1 2 3 4 | #
data(siamcat_example)
accessSlot(siamcat_example, "label")
accessSlot(siamcat_example, "model_list")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.