A C/C++ based package for advanced data transformation in R that is extremely fast, flexible and parsimonious to code with and programmer friendly. It is well integrated with 'dplyr', 'plm' and 'data.table'. — Key Features: — (1) Advanced data programming: A full set of fast statistical functions supporting grouped and/or weighted computations on vectors, matrices and data.frames. Fast (ordered) and reusable grouping, quick data conversions, and quick select, replace or add data.frame columns. (2) Advanced aggregation: Fast and easy multi-data-type, multi-function, weighted, parallelized and fully customized data aggregation. (3) Advanced transformations: Fast (grouped, weighted) replacing and sweeping out of statistics, scaling, centering, higher-dimensional centering, complex linear prediction and partialling-out. (4) Advanced time-computations: Fast (sequences of) lags / leads, and (lagged / leaded, iterated) differences and growth rates on (unordered) time-series and panel data. Multivariate auto, partial and cross- correlation functions for panel data. Panel data to (ts-)array conversions. (5) List Processing: (Recursive) list search / identification, extraction / subsetting, data-apply, and row-binding / unlisting in 2D. (6) Advanced data exploration: Fast (grouped, weighted, panel-decomposed) summary statistics for complex multilevel / panel data.
Version: | 1.1.0 |
Depends: | R (≥ 3.5.0) |
Imports: | Rcpp (≥ 1.0.1), lfe (≥ 2.7) |
LinkingTo: | Rcpp |
Suggests: | dplyr, plm, data.table, ggplot2, scales, vars, knitr, rmarkdown, testthat, microbenchmark |
Published: | 2020-04-01 |
Author: | Sebastian Krantz [aut, cre], Matt Dowle [ctb], Arun Srinivasan [ctb], Simen Gaure [ctb], Dirk Eddelbuettel [ctb], R Core Team and contributors worldwide [ctb], Martyn Plummer [cph], 1999-2016 The R Core Team [cph] |
Maintainer: | Sebastian Krantz <sebastian.krantz at graduateinstitute.ch> |
BugReports: | https://github.com/SebKrantz/collapse/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
NeedsCompilation: | yes |
SystemRequirements: | C++11 |
Materials: | NEWS |
In views: | Econometrics |
CRAN checks: | collapse results |
Reference manual: | collapse.pdf |
Vignettes: |
collapse and dplyr: Fast (weighted) Aggregations, Transformations and Time-Series/Panel Computations in a dplyr Workflow collapse and plm: Fast Transformation and Exploration of Panel Data Introduction to collapse: Advanced and Fast Data Transformation in R |
Package source: | collapse_1.1.0.tar.gz |
Windows binaries: | r-prerelease: collapse_1.1.0.zip, r-release: collapse_1.1.0.zip, r-oldrel: collapse_1.1.0.zip |
macOS binaries: | r-prerelease: collapse_1.1.0.tgz, r-release: collapse_1.1.0.tgz, r-oldrel: collapse_1.0.0.tgz |
Old sources: | collapse archive |
Please use the canonical form https://CRAN.R-project.org/package=collapse to link to this page.