labelr: Label Data Frames, Variables, and Values (original) (raw)
Create and use data frame labels for data frame objects (frame labels), their columns (name labels), and individual values of a column (value labels). Value labels include one-to-one and many-to-one labels for nominal and ordinal variables, as well as numerical range-based value labels for continuous variables. Convert value-labeled variables so each value is replaced by its corresponding value label. Add values-converted-to-labels columns to a value-labeled data frame while preserving parent columns. Filter and subset a value-labeled data frame using labels, while returning results in terms of values. Overlay labels in place of values in common R commands to increase interpretability. Generate tables of value frequencies, with categories expressed as raw values or as labels. Access data frames that show value-to-label mappings for easy reference.
Version: | 0.1.9 |
---|---|
Depends: | R (≥ 4.0.0) |
Imports: | stats, utils |
Suggests: | knitr, rmarkdown, car, nycflights13, collapse, tibble, haven, dplyr, modelr, ggplot2 |
Published: | 2024-09-08 |
DOI: | 10.32614/CRAN.package.labelr |
Author: | Robert Hartman [aut, cre], The MITRE Corporation [cph] |
Maintainer: | Robert Hartman |
License: | GPL (≥ 3) |
URL: | https://github.com/rhartmano/labelr |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | labelr results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=labelrto link to this page.