Package: mappings 0.2.0
mappings: Functions for Transforming Categorical Variables
Easily create functions to map between different sets of values, such as for re-labeling categorical variables.
Authors:
mappings_0.2.0.tar.gz
mappings_0.2.0.zip(r-4.7)mappings_0.2.0.zip(r-4.6)mappings_0.2.0.zip(r-4.5)
mappings_0.2.0.tgz(r-4.6-any)mappings_0.2.0.tgz(r-4.5-any)
mappings_0.2.0.tar.gz(r-4.7-any)mappings_0.2.0.tar.gz(r-4.6-any)
mappings_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
mappings/json (API)
NEWS
| # Install 'mappings' in R: |
| install.packages('mappings', repos = c('https://benjaminrich.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/benjaminrich/mappings/issues
Last updated from:b8c2af1a77. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 107 | ||
| source / vignettes | OK | 159 | ||
| linux-release-x86_64 | OK | 141 | ||
| macos-release-arm64 | OK | 91 | ||
| macos-oldrel-arm64 | OK | 103 | ||
| windows-devel | OK | 67 | ||
| windows-release | OK | 92 | ||
| windows-oldrel | OK | 62 | ||
| wasm-release | OK | 89 |
Exports:cfcodomaincut_mappingdomaininversemappingpaste_mappingpmappingremaptext2mapping
Dependencies:
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Convert a mapping to 'data.frame' | as.data.frame.mapping |
| Construct a 'factor' from one or more vectors | cf |
| Mapping from continuous to categorical | cut_mapping |
| Domain and codomain of a mapping. | codomain domain |
| Inverse of a mapping | inverse |
| Generate a Mapping Function | mapping pmapping |
| A mapping that adds a prefix and/or suffix | paste_mapping |
| Print a mapping | print.mapping |
| Re-map a variable | remap |
| Convenient shorthand for specifying mappings with text strings | text2mapping |
