Skip to content
This repository

R functions to split concatenated data, conveniently stack columns of data.frames, and conveniently reshape data.frames.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 R
Octocat-spinner-32 data
Octocat-spinner-32 man
Octocat-spinner-32 DESCRIPTION
Octocat-spinner-32 NAMESPACE
Octocat-spinner-32 NEWS
Octocat-spinner-32 README.md
README.md

splitstackshape

R functions to split concatenated data, conveniently stack columns of data.frames, and conveniently reshape data.frames.

Core Functions

  • concat.split: A set of functions to split strings where data have been concatenated into a single value, as is common when getting data collected with tools like Google Forms.
  • Stacked: A function to create a list of stacked sets of variables. Similar to melt from "reshape2", but doesn't put everything into one very long data.frame.
  • Reshape: A function to allow base R's reshape function to work with "unbalanced" datasets.

Utilities

  • getanID: A function for creating a secondary ID when duplicated "id" variables are present.

Install

The package is on CRAN. You can install it using:

install.packages("splitstackshape")

To install the development version, use:

library(devtools)
install_github("splitstackshape", "mrdwab", ref = "devel")

Current version: 1.2.1

Something went wrong with that request. Please try again.