Learn R Programming

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

DataCombine (version 0.1.11)

R tools for making it easier to combine and clean data sets.

Description

R tools for combining and cleaning data sets, including filling in missing observations with data from another data frame and creating lag/lead variables.

Copy Link

Version

Install

install.packages('DataCombine')

Monthly Downloads

90

Version

0.1.11

License

GPL (>= 3)

Maintainer

Christopher Gandrud

Last Published

December 10th, 2013

Functions in DataCombine (0.1.11)

FillIn

A function for filling in missing values of a variable from one data frame with the values from another variable.
FindReplace

Replace multiple patterns found in a character string column of a data frame
DropNA

Drop rows from a data frame with missing values on a given variable(s).
MoveFront

Move variables to the front of a data frame.
slide

A function for creating lag and lead variables, including for time-series cross-sectional data.
shift

A function for creating lag and lead variables.
rmExcept

Remove all objects from a workspace except those specified by the user.
grepl.sub

Subset a data frame if a specified pattern is found in a character string