coerce-df: Coerce and store <data.frame> subclass to <data.frame> and...

coerce-dfR Documentation

Coerce and store ⁠<data.frame>⁠ subclass to ⁠<data.frame>⁠ and restore ⁠<data.frame>⁠ subclass to ⁠<data.frame>⁠ from attribute.

Description

Coerce and store ⁠<data.frame>⁠ subclass to ⁠<data.frame>⁠ and restore ⁠<data.frame>⁠ subclass to ⁠<data.frame>⁠ from attribute.

Usage

.as_df(x)

.restore_df_subclass(x)

Arguments

x

An R object.

Value

A ⁠<data.frame>⁠ or subclass of ⁠<data.frame>⁠.


simulist documentation built on April 12, 2025, 1:34 a.m.