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 Nov. 29, 2022, 7:39 a.m.