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

874

Version

0.2.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Peter DeWitt

Last Published

November 16th, 2016

Functions in qwraps2 (0.2.3)

mean_sd

Mean and Standard deviation
mean_ci

Means and Confidence Intervals
confusion_matrix

Confusion Matrices (Contingency Tables)
extract_fstat

Extract Summary stats from regression objects
qroc

Receiver Operator Curves
qwraps2

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

Qable: an extended verion of knitr::kable
qacf

Autocorrelation plot
qblandaltman

Bland Altman Plots
qkmplot

Kaplan-Meier Plot
median_iqr

Median and Inner Quartile Range
n_perc

Count and Percentage
ggplot2_extract_legend

ggplot2 tools
frmt

Format Wrappers
summary_table

Data Summary Tables
ll

List Object Aliases
logit

logit and inverse logit functions