strip_attributes: Remove attributes from an object

View source: R/merge_supp.R

strip_attributesR Documentation

Remove attributes from an object

Description

Remove attributes from an object

Usage

strip_attributes(x, specific = NULL, ...)

## S3 method for class 'data.frame'
strip_attributes(x, specific = NULL, columns_only = TRUE, ...)

## Default S3 method:
strip_attributes(x, specific = NULL, ...)

Arguments

x

The object to remove attributes from

specific

If NULL, all attributes are removed. If a character vector, only the named attributes are removed.

...

Passed to other 'strip_attributes()' methods.

columns_only

Do not strip attributes from the data.frame; only strip them from the columns of the data.frame.

Value

x with fewer attributes.


billdenney/Rsdtm documentation built on Dec. 7, 2022, 2:11 a.m.