unattr: Remove attributes from all variables of a dataframe

View source: R/utils.R

unattrR Documentation

Remove attributes from all variables of a dataframe

Description

Remove attributes from all variables of a dataframe

Usage

unattr(df)

Arguments

df

A dataframe

Value

A copy of df with all attributes removed.

Examples

path <- system.file("examples", "iris.sav", package = "haven")
df <- haven::read_sav(path)
df %>% unattr()

urswilke/tablab documentation built on Oct. 17, 2022, 8:19 p.m.