Learn R Programming

campsis (version 1.9.0)

vec_restore.campsis_tbl: Restore a campsis_tbl object

Description

Internal vctrs method to restore the custom `campsis_tbl` class attributes, specifically copying over the S4 metadata object, after a vector operation.

Usage

# S3 method for campsis_tbl
vec_restore(x, to, ...)

Value

A restored `campsis_tbl` object with appropriate metadata and classes.

Arguments

x

A tibble or vector to restore.

to

The original `campsis_tbl` object to restore to.

...

Additional arguments passed to methods.