label-methods: Retrieve the label from a SIAMCAT object

Description Usage Arguments Details Value Examples

Description

Retrieve the label from a SIAMCAT object

Usage

1
2
3
4
label(siamcat, verbose=1)

## S4 method for signature 'siamcat'
label(siamcat, verbose = 1)

Arguments

siamcat

(Required). A siamcat-class object

verbose

integer, if the slot is empty, should a message be printed? values can be either 0 (no output) or 1 (print message)

Details

This function will retrieve the label information from a SIAMCAT object. The label will contain three entries:

Value

The label or NULL.

Examples

1
2
3
4
5
data(siamcat_example)
temp <- label(siamcat_example)
head(temp$label)
temp$info
temp$type

SIAMCAT documentation built on Nov. 8, 2020, 5:14 p.m.