Statistical Best Practices
CommunityWrite cleaner, faster R code.
Authorntluong95
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenges of writing maintainable, efficient, and reproducible R code by enforcing a set of standardized best practices.
Core Features & Use Cases
- Code Style Enforcement: Adheres to Tidyverse style guides using
stylerandlintr. - Performance Optimization: Promotes vectorization and efficient data handling with
data.table. - Project Structure: Guides organization for better reproducibility and collaboration.
- Defensive Programming: Implements input validation and robust error handling.
- Use Case: When refactoring a complex R script, apply these best practices to ensure clarity, reduce bugs, and improve execution speed.
Quick Start
Apply the best practices for R code style and vectorization to the script located at /path/to/your/analysis.R.
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: Statistical Best Practices Download link: https://github.com/ntluong95/agent-skills-statistics/archive/main.zip#statistical-best-practices 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 471,000+ vetted skills library on demand.