Miscellaneous stats helper functions with sane defaults for reporting
R Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst
man
.Rbuildignore
.travis.yml
DESCRIPTION
Makefile
NAMESPACE
NEWS
README.md

README.md

About

This R package includes some helper functions that used to be part of the 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

This package directly loads the reshape package, because some helpers rely on the first version of reshape that cannot be imported. This means some extra clutter in the .GlobalEnv. Beside that, 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:

install.packages('rapportools')

Or grab the most recent (development) version of the package with devtools:

library(devtools)
install_github('rapporter/rapportools')

The build status of that latter: Build Status