coerce-df {simulist}R 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>⁠.


[Package simulist version 0.5.0 Index]