Learn R With Ai
Description
Learn R statistics for clinical research with AI assistance—interactive Quarto tutorial from zero programming knowledge to publication-ready biostatistics analysis.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI