Skip to content

A collection of functions for common data reshaping operations, as well as functions for table and plot generation for R Markdown documents.

Notifications You must be signed in to change notification settings

kevinushey/Kmisc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0a35b51 · Jun 12, 2018
Jan 8, 2018
Dec 11, 2013
Dec 13, 2013
Feb 3, 2014
Jan 16, 2014
Sep 24, 2014
Sep 5, 2013
Jan 8, 2018
Feb 3, 2014
Sep 24, 2014
Feb 19, 2014
Apr 6, 2014
Mar 7, 2014
May 11, 2014
Feb 3, 2014
Mar 17, 2014
May 11, 2014
May 11, 2014
Mar 7, 2014
Jun 12, 2018
Apr 6, 2014
Apr 6, 2014

Repository files navigation

Build Status

Kmisc

Kmisc is a package chock full of miscellaneous functions that intend to make the R programming process easier. The functions range from:

  • A faster implementation of reshape2::melt for data.frames and matrix's,
  • Utility functions for generating and styling R Markdown documents,
  • A simple wrapper to awk,
  • Functions for reading in subsets of very large files:
    • extract_rows_from_file pulls specific rows from a (potentially large) tabular data file, where we only take rows for which a particular column entry matches a list of desired elements,
    • split_file splits a file on a particular column into separate, smaller files, so that these smaller files are more amenable to parallel processing,
  • Faster implementations of some common R functions; e.g. counts is a faster version of table for single vectors; tapply_ is a faster tapply for the common case of splitting an atomic vector by another atomic vector, factor_ is a faster factor...
  • And more! Browse the index to get an idea of everything that's there.

Install me in R with devtools::install_github() with the following call:

devtools::install_github("kevinushey/Kmisc")

About

A collection of functions for common data reshaping operations, as well as functions for table and plot generation for R Markdown documents.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published