Convenience functions for data preparation and summarization
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
man
revdep
.Rbuildignore
.gitattributes.R
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
README.md
_config.yml
appveyor.yml
cran-comments.md
helperr.Rproj

README.md

Build Status Build status

helprr: Convenience functions for data preparation and summarization

This package includes a set of convenience functions for data preparation and summarization.

Utilities

elements counts the number of elements in a data.frame, matrix, or vector.

fix.missing takes in a vector and a missing code (e.g., "-99", "-999") and returns a vector with missing items coded as NA.

mode returns the modal value of a vector.

percents turns a vector of proportions into percentages.

rescale01 rescales a vector so its elements fall between 0 and 1. rescale0100 does the same but for a range from 0 to 100.

s takes in a data frame and returns several statistics: mean, median, standard deviation, mean absolute deviation, and the interquartile range.

Package Installation

The latest development version on GitHub can be installed using devtools.

if(!require("ghit")){
    install.packages("ghit")
}
ghit::install_github("cdcrabtree/helprr")

Support or Contact

Having trouble with helprr? Please email Charles Crabtree and he'll help you sort it out.