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 July 23, 2026, 1:08 a.m.