simpleClass: Simple class of object

View source: R/simpleClass.R

simpleClassR Documentation

Simple class of object

Description

Simple class of object

Usage

simpleClass(x)

Arguments

x

Object.

Details

Doesn't return structure information, including the parent package that defines the class, which is common for S4 classes.

Primarily intended for unit testing in other packages.

Value

character(1). Primary class of object, as a simple string.

Note

Updated 2021-08-04.

Examples

df <- data.frame()
simpleClass(df)

acidgenomics/AcidBase documentation built on Jan. 28, 2024, 2:59 a.m.