Kaplan-Meier curve / Kaplan-Meier 曲线
kaplan_meierKaplan-Meier curve / Kaplan-Meier 曲线 | USE WHEN: KM curve and median survival only (no multivariable model) | ALIASES: KM曲线, Kaplan-Meier, 中位生存, 生存曲线, 生存率, log-rank | RETURNS: KM 曲线与中位生存
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"times": [
5,
12,
18,
24,
30,
42
],
"events": [
1,
1,
0,
1,
1,
0
]
},
"name": "kaplan_meier"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| times | Yes | 随访时间 | |
| events | Yes | 事件 0/1 | |
| groups | No | 分组 |