問題タブ [survminer]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
r - ggadjustedcurves survminer エラーの場合 (xi > xj) 1L else -1L
survminer を使用して、ggadjustedcurves() で調整された生存曲線を作成しようとしています。私のコードは次のとおりです。
そして、私はエラーメッセージを受け取っています:
if (xi > xj) のエラー 1L else -1L : TRUE/FALSE が必要な場所に値がありません
また、ここに私のトレースバックがあります:
これが何を意味するのか、それを修正する方法がわかりません。本当に助けていただければ幸いです:)