r-collapse
CommunityFast R grouped/weighted stats
Authorarthurgailes
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses performance bottlenecks in R when dealing with large datasets and complex grouped or weighted statistical operations, offering a significantly faster alternative to packages like dplyr for specific tasks.
Core Features & Use Cases
- High-Performance Aggregation: Utilizes C/C++ backend for grouped and weighted statistics, achieving speeds 50-100x faster than dplyr.
- Panel Data Operations: Efficiently handles time-series cross-sectional data with functions for within/between transformations, lags, and differences.
- Versatile Data Handling: Works seamlessly with various R data frame types (tibbles, data.tables, xts).
- Use Case: When analyzing a large panel dataset with millions of rows and needing to compute group-wise means and standard deviations,
r-collapsecan perform these operations orders of magnitude faster than traditional methods.
Quick Start
Use the r-collapse skill to compute the mean of the 'value' column grouped by 'category' in the provided data.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: r-collapse Download link: https://github.com/arthurgailes/awesome-r-skills/archive/main.zip#r-collapse Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.