DataCombine0.2.21 package

Tools for Easily Combining and Cleaning Data Sets

VarDrop

Drop one or more variables from a data frame.

CasesTable

Create reports cases after listwise deletion of missing values for tim...

change

Calculate the changes (absolute, percent, and proportion) changes from...

CountSpell

Count spells, including for grouped data

dMerge

Merges 2 data frames and report/drop/keeps only duplicates.

DropNA

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

FillDown

Fills in missing (NA) values with the previous non-missing value

FillIn

A function for filling in missing values of a variable from one data f...

FindDups

Find duplicated values in a data frame and subset it to either include...

FindReplace

Replace multiple patterns found in a character string column of a data...

grepl.sub

Subset a data frame if a specified pattern is found in a character str...

InsertRow

Inserts a new row into a data frame

MoveFront

Move variables to the front of a data frame.

NaVar

Create new variable(s) indicating if there are missing values in other...

PercChange

Calculate the percentage change from a specified lag, including within...

rmExcept

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

shift

A function for creating lag and lead variables.

shiftMA

Internal function for slideMA

slide

A function for creating lag and lead variables, including for time-ser...

slideMA

Create a moving average for a period before or after each time point f...

SpreadDummy

Spread a dummy variable (1's and 0') over a specified time period and ...

StartEnd

Find the starting and ending time points of a spell

TimeExpand

Expands a data set so that it includes an observation for each time po...

TimeFill

Creates a continuous Unit-Time-Dummy data frame from a data frame with...

Tools for combining and cleaning data sets, particularly with grouped and time series data.

  • Maintainer: Christopher Gandrud
  • License: GPL (>= 3)
  • Last published: 2016-04-13