add_class: Add a class

View source: R/utilities.R

add_classR Documentation

Add a class

Description

Utility function to add a class to an object. Adds the new class after any existing classes.

Usage

add_class(x, cls)

Arguments

x

object to add a class to.

cls

the class to be added.


insightsengineering/rbmi documentation built on Feb. 28, 2025, 3:34 a.m.