CRAN/E | collapse

collapse

Advanced and Fast Data Transformation

Installation

About

A C/C++ based package for advanced data transformation and statistical computing in R that is extremely fast, class-agnostic, robust and programmer friendly. Core functionality includes a rich set of S3 generic grouped and weighted statistical functions for vectors, matrices and data frames, which provide efficient low-level vectorizations, OpenMP multithreading, and skip missing values by default. These are integrated with fast grouping and ordering algorithms (also callable from C), and efficient data manipulation functions. The package also provides a flexible and rigorous approach to time series and panel data in R. It further includes fast functions for common statistical procedures, detailed (grouped, weighted) summary statistics, powerful tools to work with nested data, fast data object conversions, functions for memory efficient R programming, and helpers to effectively deal with variable labels, attributes, and missing data. It is well integrated with base R classes, 'dplyr'/'tibble', 'data.table', 'sf', 'plm' (panel-series and data frames), and 'xts'/'zoo'.

Citation collapse citation info
sebkrantz.github.io/collapse/
github.com/SebKrantz/collapse
twitter.com/collapse_R
Bug report File report

Key Metrics

Version 2.0.13
R ≥ 3.3.0
Published 2024-04-13 11 days ago
Needs compilation? yes
License GPL-2
License GPL-3
License File
CRAN checks collapse results

Downloads

Yesterday 1.337 0%
Last 7 days 6.722 -34%
Last 30 days 33.608 +7%
Last 90 days 92.025 -34%
Last 365 days 540.092 -34%

Maintainer

Maintainer

Sebastian Krantz

sebastian.krantz@graduateinstitute.ch

Authors

Sebastian Krantz

aut / cre

Matt Dowle

ctb

Arun Srinivasan

ctb

Morgan Jacob

ctb

Dirk Eddelbuettel

ctb

Laurent Berge

ctb

Kevin Tappe

ctb

R Core Team
contributors worldwide

ctb

Martyn Plummer

cph

1999-2016 The R Core Team

cph

Material

NEWS
Reference manual
Package source

In Views

Econometrics
OfficialStatistics
TimeSeries

Vignettes

collapse Documentation and Resources
collapse for tidyverse Users
collapse's Handling of R Objects

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

collapse archive

Depends

R ≥ 3.3.0

Imports

Rcpp ≥ 1.0.1

Suggests

fastverse
data.table
magrittr
kit
xts
zoo
plm
fixest
vars
RcppArmadillo
RcppEigen
tibble
dplyr
ggplot2
scales
microbenchmark
testthat
covr
knitr
rmarkdown

LinkingTo

Rcpp

Reverse Imports

africamonitor
aorsf
blocs
cheapr
deduped
DepecheR
dfms
DisImpact
fastverse
FuncDiv
fwildclusterboot
joyn
osmclass
penppml
plm
QTLExperiment
samadb
summclust
timeplyr
ugatsdb
versus

Reverse Suggests

arcpbf
bsitar
labelr
marginaleffects
ordbetareg
tinycodet