label {SIAMCAT} | R Documentation |
Retrieve the label from a SIAMCAT object
label(siamcat, verbose=1) ## S4 method for signature 'siamcat' label(siamcat, verbose = 1)
siamcat |
(Required). A siamcat-class object |
verbose |
integer, if the slot is empty, should a message be printed?
values can be either |
This function will retrieve the label information from a SIAMCAT object. The label will contain three entries:
label
: The label as named vector, in which the classes are
encoded numerically
info
: Information about the different classes
type
: What kind of label is it?
The label or NULL.
data(siamcat_example) temp <- label(siamcat_example) head(temp$label) temp$info temp$type