Other packages > Find by keyword >

collapse  

Advanced and Fast Data Transformation
View on CRAN: Click here


Download and install collapse package within the R console
Install from CRAN:
install.packages("collapse")

Install from Github:
library("remotes")
install_github("cran/collapse")

Install by package version:
library("remotes")
install_version("collapse", "2.1.8")



Attach the package and use:
library("collapse")
Maintained by
Sebastian Krantz
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2020-03-19
Latest Update: 2025-05-24
Description:
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'.
How to cite:
Sebastian Krantz (2020). collapse: Advanced and Fast Data Transformation. R package version 2.1.8, https://cran.r-project.org/web/packages/collapse. Accessed 29 Oct. 2026.
Previous versions and publish date:
(2026-08-30 18:00), 1.0.0 (2020-03-19 14:50), 1.1.0 (2020-04-01 14:20), 1.2.0 (2020-05-19 13:50), 1.2.1 (2020-05-27 00:10), 1.3.0 (2020-08-11 17:40), 1.3.1 (2020-08-27 19:40), 1.3.2 (2020-09-13 06:50), 1.4.0 (2020-11-01 22:40), 1.4.1 (2020-11-09 23:30), 1.4.2 (2020-11-10 16:10), 1.5.0 (2021-01-04 18:00), 1.5.1 (2021-01-12 16:10), 1.5.2 (2021-03-02 07:20), 1.5.3 (2021-03-07 18:30), 1.6.0 (2021-06-28 07:00), 1.6.2 (2021-07-04 23:00), 1.6.4 (2021-07-13 14:10), 1.6.5 (2021-07-24 12:00), 1.7.0 (2022-01-14 13:02), 1.7.2 (2022-01-23 01:32), 1.7.3 (2022-01-26 16:42), 1.7.5 (2022-02-03 09:00), 1.7.6 (2022-02-11 13:30), 1.8.4 (2022-06-08 17:10), 1.8.5 (2022-06-13 12:10), 1.8.6 (2022-06-14 09:10), 1.8.8 (2022-08-15 10:50), 1.8.9 (2022-10-07 16:00), 1.9.0 (2023-01-15 16:30), 1.9.2 (2023-01-25 11:10), 1.9.3 (2023-02-27 10:22), 1.9.4 (2023-03-31 19:40), 1.9.5 (2023-04-07 20:10), 1.9.6 (2023-05-28 11:30), 2.0.2 (2023-10-14 11:00), 2.0.3 (2023-10-18 00:40), 2.0.6 (2023-11-12 21:03), 2.0.7 (2023-12-07 13:30), 2.0.9 (2024-01-11 13:30), 2.0.10 (2024-02-17 18:00), 2.0.11 (2024-03-21 05:10), 2.0.12 (2024-04-01 10:20), 2.0.13 (2024-04-14 01:00), 2.0.14 (2024-05-25 00:20), 2.0.15 (2024-07-08 14:50), 2.0.16 (2024-08-21 12:40), 2.0.17 (2024-11-03 06:40), 2.0.18 (2024-11-23 16:30), 2.0.19 (2025-01-09 17:30), 2.1.0 (2025-03-10 12:40), 2.1.1 (2025-04-14 19:10), 2.1.2 (2025-05-25 00:30), 2.1.3 (2025-08-18 21:50), 2.1.4 (2025-10-24 07:20), 2.1.5 (2025-11-19 07:10), 2.1.6 (2026-01-11 07:11), 2.1.7 (2026-05-19 07:10)
Other packages that cited collapse R package
View collapse citation profile
Other R packages that collapse depends, imports, suggests or enhances
Complete documentation for collapse
Functions, R codes and Examples using the collapse R package
Some associated functions: BY . GGDC10S . GRP . TRA . across . arithmetic . collap . collapse-documentation . collapse-options . collapse-package . collapse-renamed . colorder . dapply . data-transformations . descr . efficient-programming . extract_list . fFtest . fast-data-manipulation . fast-grouping-ordering . fast-statistical-functions . fbetween_fwithin . fcount . fcumsum . fdiff . fdist . fdroplevels . ffirst_flast . fgrowth . fhdbetween_fhdwithin . flag . flm . fmatch . fmean . fmin_fmax . fmode . fndistinct . fnobs . fnth_fmedian . fprod . fquantile . frename . fscale . fsubset . fsum . fsummarise . ftransform . funique . fvar_fsd . group . groupid . indexing . is_unlistable . join . ldepth . list-processing . pad . pivot . psacf . psmat . pwcor_pwcov_pwnobs . qF . qsu . qtab . quick-conversion . radixorder . rapply2d . recode-replace . rowbind . roworder . rsplit . select_replace_vars . seqid . small-helpers . summary-statistics . t_list . time-series-panel-series . timeid . unlist2d . varying . wlddev . 
Some associated R codes: BY.R . GRP.R . RcppExports.R . TRA.R . collap.R . dapply.R . descr.R . fFtest.R . fbetween_fwithin.R . fcount.R . fcumsum.R . fdiff_fgrowth.R . ffirst.R . fhdbetween_fhdwithin.R . flag.R . flast.R . flm.R . fmean.R . fmin_fmax.R . fmode.R . fndistinct.R . fnobs.R . fnth_fmedian.R . fprod.R . fscale.R . fsubset_ftransform_fmutate.R . fsum.R . fsummarise.R . fvar_fsd.R . global_macros.R . indexing.R . join.R . list_functions.R . my_RcppExports.R . pivot.R . psacf.R . psmat.R . pwcor_pwcov_pwnobs.R . qsu.R . qtab.R . quick_conversion.R . recode_replace.R . roworder_colorder_rename.R . rsplit.R . select_replace_add_vars.R . small_helper.R . unlist2d.R . varying.R . zzz.R .  Full collapse package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA