360 Secure SkillHub
360 安全技能中心

R Analyst

核心功能涵盖计算描述性统计、生成ASCII直方图、构建皮尔逊相关矩阵、检测缺失值与异常值、描述数据集结构。适用于CSV数据集的统计分析、数据清洗、结构探查等场景。通过bash命令调用对应指令,输入CSV文件即可得到相应分析结果,无需安装R,仅需bash4+及Python3环境。

loutai0307-prog
loutai0307-prog
热度 59.34
最近更新 2026-05-11 17:43:55
分类:数据依赖:代码执行 / 读写文件应用场景:数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add r-analyst
Metadata
name
r-analyst
description
R-style statistical analysis powered by Python 3. Use when computing descriptive statistics, generating ASCII histograms, calculating correlation matrices, detecting missing values and outliers, or describing CSV dataset structure.

r-analyst

Triggers on

r statistics, csv analysis, data correlation, missing values, ascii histogram, describe dataset, r summary, outlier detection, pearson correlation

What This Skill Does

Perform R-style data analysis on CSV files using Python 3. No R installation required.

Commands

stats

Compute descriptive statistics (R-style summary: Min/1st Qu/Median/Mean/3rd Qu/Max/SD).

bash scripts/script.sh stats <file.csv> [column]

plot

Generate an ASCII histogram for a numeric column.

bash scripts/script.sh plot <file.csv> [column] [bins]

correlate

Compute Pearson correlation matrix for all numeric columns.

bash scripts/script.sh correlate <file.csv>

clean

Detect missing values and statistical outliers (3σ rule).

bash scripts/script.sh clean <file.csv>

describe

Show dataset structure, column types, unique value counts, and sample values.

bash scripts/script.sh describe <file.csv>

help

Show all available commands.

bash scripts/script.sh help

Requirements

  • bash 4+
  • python3 (standard library only — no R needed)

Powered by BytesAgain | bytesagain.com