remove_attributes: Remove attributes

Description Usage Arguments Examples

View source: R/remove_attributes.R

Description

This function removes specified attributes. When applied to a data.frame, it will also remove recursively the specified attributes to each column of the data.frame.

Usage

1

Arguments

x

an object

attributes

a character vector indicating attributes to remove

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(haven)
path <- system.file("examples", "iris.sav", package = "haven")
d <- read_sav(path)
str(d)
d <- remove_attributes(d, "format.spss")
str(d)
## End(Not run)

adayim/cctab documentation built on Dec. 18, 2021, 10:26 p.m.