collapse2.0.16 package

Advanced and Fast Data Transformation

collapse-options

collapse Package Options

collapse-package

Advanced and Fast Data Transformation

fbetween_fwithin

Fast Between (Averaging) and (Quasi-)Within (Centering) Transformation...

fhdbetween_fhdwithin

Higher-Dimensional Centering and Linear Prediction

flag

Fast Lags and Leads for Time Series and Panel Data

flm

Fast (Weighted) Linear Model Fitting

fmatch

Fast Matching

fmean

Fast (Grouped, Weighted) Mean for Matrix-Like Objects

fmin_fmax

Fast (Grouped) Maxima and Minima for Matrix-Like Objects

fmode

Fast (Grouped, Weighted) Statistical Mode for Matrix-Like Objects

fndistinct

Fast (Grouped) Distinct Value Count for Matrix-Like Objects

fnobs

Fast (Grouped) Observation Count for Matrix-Like Objects

fnth_fmedian

Fast (Grouped, Weighted) N'th Element/Quantile for Matrix-Like Objects

fprod

Fast (Grouped, Weighted) Product for Matrix-Like Objects

fquantile

Fast (Weighted) Sample Quantiles and Range

frename

Fast Renaming and Relabelling Objects

fscale

Fast (Grouped, Weighted) Scaling and Centering of Matrix-like Objects

fsubset

Fast Subsetting Matrix-Like Objects

fsum

Fast (Grouped, Weighted) Sum for Matrix-Like Objects

fsummarise

Fast Summarise

ftransform

Fast Transform and Compute Columns on a Data Frame

funique

Fast Unique Elements / Rows

fvar_fsd

Fast (Grouped, Weighted) Variance and Standard Deviation for Matrix-Li...

collap

Advanced Data Aggregation

collapse-documentation

Collapse Documentation & Overview

across

Apply Functions Across Multiple Columns

arithmetic

Fast Row/Column Arithmetic for Matrix-Like Objects

BY

Split-Apply-Combine Computing

collapse-renamed

Renamed Functions

colorder

Fast Reordering of Data Frame Columns

dapply

Data Apply

data-transformations

Data Transformations

descr

Detailed Statistical Description of Data Frame

efficient-programming

Small Functions to Make R Programming More Efficient

extract_list

Find and Extract / Subset List Elements

fast-data-manipulation

Fast Data Manipulation

fast-grouping-ordering

Fast Grouping and Ordering

fast-statistical-functions

Fast (Grouped, Weighted) Statistical Functions for Matrix-Like Objects

fcount

Efficiently Count Observations by Group

fcumsum

Fast (Grouped, Ordered) Cumulative Sum for Matrix-Like Objects

fdiff

Fast (Quasi-, Log-) Differences for Time Series and Panel Data

fdist

Fast and Flexible Distance Computations

fdroplevels

Fast Removal of Unused Factor Levels

ffirst_flast

Fast (Grouped) First and Last Value for Matrix-Like Objects

fFtest

Fast (Weighted) F-test for Linear Models (with Factors)

fgrowth

Fast Growth Rates for Time Series and Panel Data

group

Fast Hash-Based Grouping

groupid

Generate Run-Length Type Group-Id

GRP

Fast Grouping / collapse Grouping Objects

indexing

Fast Indexed Time Series and Panels

is_unlistable

Unlistable Lists

join

Fast Table Joins

ldepth

Determine the Depth / Level of Nesting of a List

list-processing

List Processing

pad

Pad Matrix-Like Objects with a Value

pivot

Fast and Easy Data Reshaping

psacf

Auto- and Cross- Covariance and Correlation Function Estimation for Pa...

psmat

Matrix / Array from Panel Series

pwcor_pwcov_pwnobs

(Pairwise, Weighted) Correlations, Covariances and Observation Counts

qF

Fast Factor Generation, Interactions and Vector Grouping

qsu

Fast (Grouped, Weighted) Summary Statistics for Cross-Sectional and Pa...

qtab

Fast (Weighted) Cross Tabulation

quick-conversion

Quick Data Conversion

radixorder

Fast Radix-Based Ordering

rapply2d

Recursively Apply a Function to a List of Data Objects

recode-replace

Recode and Replace Values in Matrix-Like Objects

rowbind

Row-Bind Lists / Data Frame-Like Objects

roworder

Fast Reordering of Data Frame Rows

rsplit

Fast (Recursive) Splitting

select_replace_vars

Fast Select, Replace or Add Data Frame Columns

seqid

Generate Group-Id from Integer Sequences

small-helpers

Small (Helper) Functions

summary-statistics

Summary Statistics

t_list

Efficient List Transpose

time-series-panel-series

Time Series and Panel Series

timeid

Generate Integer-Id From Time/Date Sequences

TRA

Transform Data by (Grouped) Replacing or Sweeping out Statistics

unlist2d

Recursive Row-Binding / Unlisting in 2D - to Data Frame

varying

Fast Check of Variation in Data

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', 'units', 'plm' (panel-series and data frames), and 'xts'/'zoo'.

  • Maintainer: Sebastian Krantz
  • License: GPL (>= 2) | file LICENSE
  • Last published: 2024-08-21