https://github.com/Rapporter/rapportools
Miscellaneous stats helper functions with sane defaults for reporting
https://github.com/Rapporter/rapportools
Last synced: 4 months ago
JSON representation
Miscellaneous stats helper functions with sane defaults for reporting
- Host: GitHub
- URL: https://github.com/Rapporter/rapportools
- Owner: Rapporter
- Created: 2014-01-05T00:01:26.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-03-21T23:20:09.000Z (about 3 years ago)
- Last Synced: 2024-08-13T07:15:13.316Z (8 months ago)
- Language: R
- Size: 84 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - Rapporter/rapportools - Miscellaneous stats helper functions with sane defaults for reporting (R)
README
## About
This R package includes some helper functions that used to be part of the [rapport](https://rapporter.github.io/rapport) package for a long time. But for the sake of modularity, these functions were moved to a separate package that should be used *inside* of `rapport` templates.
These functions are basically wrappers to more advanced statistical methods with the advantage of having sane defaults for quick reporting. E.g. updating the `na.rm` parameter of the `min`, `max`, `mean` etc. to `TRUE` and providing access to some other helpers like generating frequency tables with percentages or returning `var` for a subset of a `data.frame`.
## Note
The basic stats functions (see above) are also overwritten, so be prepared for such changes if you `library(rapportools)`.
## Suggestion
Use this package inside of `rapport` templates, as it was intended. `rapport` would load the package on demand (if the template needs it), then would remove it from the search path, so that to keep the clutter at a minimal level in the `.GlobalEnv`.
## Install
`rapportools` can be installed from CRAN:
```r
install.packages('rapportools')
```Or grab the most recent (development) version of the package with `devtools`:
```r
remotes::install_github('rapporter/rapportools')
```The build status of that latter: [](https://travis-ci.org/Rapporter/rapportools)