ez.clattr | R Documentation |
remove specified attributes
ez.clattr(
x,
col = NULL,
attrs = c("variable.labels", "label", "value.labels", "labels"),
...
)
x |
a data frame or a vector |
col |
evaluated by |
attrs |
variable label: c('variable.labels', 'label'); value labels: c('value.labels', 'labels'). run names(attributes(x)) to see all attributes |
returns a new data frame or vector
this function uses a different mechanism from sjmisc_set_labels(x,"") which works only for value labels: haven style ("labels") or foreign style ("value.labels")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.