accessSlot: Universal slot accessor function for siamcat-class.

Description Usage Arguments Value Examples

View source: R/siamcat_class_accessors.R

Description

This function is used internally by many accessors.

Usage

1
accessSlot(siamcat, slot, verbose=1)

Arguments

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)

Value

Returns the component object specified by the argument slot. Returns NULL if slot does not exist.

Examples

1
2
3
4

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