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 <rohartman at gmail.com> |
License: | GPL (≥ 3) |
URL: | https://github.com/rhartmano/labelr |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | labelr results |
Reference manual: | labelr.pdf |
Vignettes: |
Labelr - An Introduction (source, R code) Labelr - Special Topics (source, R code) |
Package source: | labelr_0.1.9.tar.gz |
Windows binaries: | r-devel: labelr_0.1.9.zip, r-release: labelr_0.1.9.zip, r-oldrel: labelr_0.1.9.zip |
macOS binaries: | r-release (arm64): labelr_0.1.9.tgz, r-oldrel (arm64): labelr_0.1.9.tgz, r-release (x86_64): labelr_0.1.9.tgz, r-oldrel (x86_64): labelr_0.1.9.tgz |
Old sources: | labelr archive |
Please use the canonical form https://CRAN.R-project.org/package=labelr to link to this page.