as_class: Set Class

View source: R/utilities.R

as_classR Documentation

Set Class

Description

Utility function to set an objects class.

Usage

as_class(x, cls)

Arguments

x

object to set the class of.

cls

the class to be set.

Value

x with its class attribute set to cls.


rbmi documentation built on Oct. 15, 2026, 9:06 a.m.