Skip to main navigation Skip to main content Skip to page footer

Journal Article

collapse: Advanced and Fast Statistical Computing and Data Transformation in R

Authors

  • Krantz
  • S.

Publication Date

DOI

10.18637/jss.v116.i01

Key Words

statistical computing

vectorization

data manipulation and transformation

class-agnostic programming

summary statistics

C/C++

R

collapse is a large C/C++-based infrastructure package facilitating complex statistical computing, data transformation, and exploration tasks in R - at outstanding levels of performance and memory efficiency. It also implements a class-agnostic approach to R programming, supporting vector, matrix and data frame-like objects and their popular extensions ('units', 'integer64', 'xts', 'tibble', 'data.table', 'sf', 'pdata.frame'), enabling its seamless integration with the bulk of the R ecosystem. This article introduces the package's key components and design principles in a structured way, supported by a rich set of examples. A small benchmark demonstrates its computational performance.

Kiel Institute Expert

  • Sebastian Krantz, Ph.D.
    Kiel Institute Fellow

More Publications

Topics

  • Aerial view of an African village, solar-powered well in the center

    Africa

  • man on street

    China

  • Two women inspect a solar panel

    Climate and Energy

Research Center

  • Research Center

    International Development