Learn R With AI — AI skill for Claude Code
Learn R statistics for clinical research with AI assistance—interactive Quarto tutorial from zero programming knowledge to publication-ready biostatistics analysis.
How to install Learn R With AI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open htlin222/learn-r-with-ai and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Learn R With AI does
Learn R statistics for clinical research with AI assistance—interactive Quarto tutorial from zero programming knowledge to publication-ready biostatistics analysis.
Alternatives in AI
- PRD: Gentleman AI Installer — One command. Any agent 1.9k ★
- Rust Skills — Rust Developer AI Assistance System — Meta-Problem-Driven Knowledge Indexing 893 ★
- UnrealClaude — Claude Code CLI integration for Unreal Engine 5.7 - Get AI coding assistance with built-in UE5.7 documentation 524 ★
README
R 語言統計工具入門:用 AI 學會做臨床研究統計
[](https://github.com/htlin222/learn-r-with-ai/stargazers) [](https://github.com/htlin222/learn-r-with-ai/commits/main) [](LICENSE)
一個以 Quarto 建置的開源教學書籍,教你如何善用 AI 輔助學習 R 語言,完成臨床研究統計分析 -- 從零開始,不需要程式背景。
在線閱讀
| 資源 | 連結 |
|---|---|
| 書籍網址 | htlin222.github.io/learn-r-with-ai |
| GitHub 倉庫 | github.com/htlin222/learn-r-with-ai |
| 下載程式碼 | 點此下載 ZIP |
課程目標
今天結束時,你將能夠:
- 把問題描述清楚,讓 AI 幫你寫程式
- 看懂 AI 給的程式碼大概在做什麼
- 當程式出錯,知道怎麼問 AI 修正
- 產出可以放進論文的表格和圖表
- 有一個可以重複使用的分析範本
這堂課的玩法
- 我給你一個「任務」
- 你把任務描述貼給 AI(ChatGPT / Claude)
- AI 給你程式碼
- 你貼到 Positron / Posit.cloud 執行
- 我們一起看結果、理解發生了什麼
**記住:你的工作是「問對問題」,不是「寫對程式」。**
項目結構
learn-r-with-ai/
├── _quarto.yml # Quarto 書籍配置
├── _common.R # 全域 R 設定(字型、主題、knitr)
├── install.r # 一鍵安裝所有套件
│
├── index.qmd # 前言
├── part1.qmd # 第一部分:快速入門(任務 1-5)
├── part2.qmd # 第二部分:讀取你的資料(任務 6-8)
├── part3.qmd # 第三部分:產出你的 Table 1(任務 9-14)
├── part4.qmd # 第四部分:畫出論文等級的圖(任務 15-19)
├── part5.qmd # 第五部分:統計檢定(任務 20-24)
├── part6.qmd # 第六部分:整合與收尾(任務 25-30)
├── appendix.qmd # 附錄:常見技術問題與解決方案
│
├── patient_data.csv # 主要教學資料(100 筆病人)
├── patient_data_for_survival.csv # 存活分析資料(100 筆)
├── patient_data_meta.csv # 統合分析資料(8 篇研究)
│
├── boxplot_los.R # 範例:盒狀圖腳本
├── mult
Related Skills
MeMex Zero RAG
The Karpathy LLM Wiki, production-ready. Zero-RAG personal knowledge base with MCP server, multi-agent support
World Class Carousel
AI agent skill for generating publication-ready Instagram carousels. LaTeX/TikZ rendering, Gemini 3 Pro AI ima
Claude Research
Build AI-assisted scientific research in VS Code with literature review, citation tracking, and publication-re
Stata Graphics Skill
面向经济学实证研究的 Stata 作图 AI 编程助手知识库 A structured knowledge base for AI coding assistants (Claude Code, Codex, etc.)
Claude Code Source All In One
Explore Claude Code source architecture and learn AI agent internals with runnable code, deep dives, and educa
Codex Agentic Patterns
Learn to build production-ready AI agents through real-world patterns extracted from OpenAI's Codex CLI
Related Agents
Shine Chart Builder
Generates interactive charts and diagrams via ECharts MCP, Mermaid MCP, or VegaLite MCP. Produces publication-
Visualization Specialist
Expert data visualization specialist for creating interactive, insightful, and publication-quality visualizati
Memory Manager Agent
Use this agent when you need specialized assistance with manages project-specific agent memories for improved