Table 1 (baseline characteristics) / 生成 Table 1(基线特征表)
table_one_baselineTable 1 (baseline characteristics) / 生成 Table 1(基线特征表) | USE WHEN: build the paper's first table: baseline characteristics by group with P values | ALIASES: Table 1, 基线表, 基线特征表, 人口学表, 第一张表, baseline table, characteristics table, 组间比较表 | RETURNS: Table 1 表格 + 可选段落
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_id": "<file_id>",
"group_variable": "<group_variable>"
},
"name": "table_one_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | 数据文件 id(可不填,助手会自动用你最近上传的数据) | |
| posthoc | No | 多组(≥3 组)两两比较的事后方法:none/tukey/dunn,默认 none。两组时该字段无作用。 | |
| balance_check | No | 是否同时输出组间均衡性 P 值(默认 true)。P<0.05 只代表基线不均衡,不代表需要调整或删除该变量。 | |
| group_variable | Yes | 分组变量列名 | |
| type_overrides | No | 强制指定变量类型 {列名: "continuous"|"categorical"}。用于数值编码但实为分类的列(如 0/1 性别、1/2/3 分级)。 | |
| variable_labels | No | 变量显示名映射 {原始列名: 表内显示名},如 {"sbp":"收缩压(mmHg)"}。不传则表里显示原始列名。 | |
| generate_paragraph | No | 是否同时生成论文表述段落 | |
| variables_to_exclude | No | 排除的列名数组(优先级高于 variables_to_include),如 ["住院号","联系电话"]。 | |
| variables_to_include | No | 纳入的变量列名数组(按顺序出现在表里)。不传则自动纳入全部非 ID 列;与 variables_to_exclude 互斥时排除优先。 | |
| include_suspected_vars | No | 是否纳入系统猜测为 ID/时间的列(默认 false,即自动剔除)。 |