Learn R Programming

⚠️There's a newer version (0.6.1) of this package.Take me there.

qwraps2

A collection of helpful functions for summarizing data and formating results. These functions are almost certainly found in other R packages on github.com, or on CRAN. This is a collection of methods I have generated to help with particular projects I have worked on over the last several years. Using my origiinal qwraps package as the foundation, this work is aimed at simplicity and ease of use.


Contribute!

If you have a particular task or function used for data summaries or for reporting that you think would be helpful to include in this package please fork the repo, add the feature, and send me a pull request.


Install

From CRAN

Download and install from The Comprehensive R Archive Network (CRAN).

install.packages("qwraps2", repo = "http://cran.rstudio.com")

Developmental

Install the development version of qwraps2 directly from github via the devtools package:

if (!("devtools" %in% rownames(installed.packages()))) { 
  warning("installing devtools from https://cran.rstudio.com")
  install.packages("devtools", 
                   repo = "https://cran.rstudio.com")
}

devtools::install_github("dewittpe/qwraps2", 
                         build_vignettes = TRUE)

NOTE: If you are working on a Windows machine you will need to download and install Rtools before devtools will work for you.

Cloned repo

Install with GNU make

make install

Copy Link

Version

Install

install.packages('qwraps2')

Monthly Downloads

996

Version

0.2.2

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Peter DeWitt

Last Published

September 27th, 2016

Functions in qwraps2 (0.2.2)

logit

logit and inverse logit functions
ggplot2_extract_legend

ggplot2 tools
median_iqr

Median and Inner Quartile Range
extract_fstat

Extract Summary stats from regression objects
mean_sd

Mean and Standard deviation
confusion_matrix

Confusion Matrices (Contingency Tables)
qable

Qable: an extended verion of knitr::kable
mean_ci

Means and Confidence Intervals
frmt

Format Wrappers
n_perc

Count and Percentage
summary_table

Data Summary Tables
qacf

Autocorrelation plot
qblandaltman

Bland Altman Plots
qroc

Receiver Operator Curves
qkmplot

Kaplan-Meier Plot
qwraps2

A collection of wrapper functions aimed at for aiding the authoring of reproducible reports.