Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
newdata 引数の意味がわかりません。誰かが私にこれを説明してもらえますか? ドキュメントを読みましたが、正直なところ、理解できません。いつ使用する必要がありますか?
おそらくこれはpredict関数への参照ですか?データセットにない予測変数の組み合わせの結果を予測する場合は、'newdata' を使用する必要があります。RHS 変数に一致する列名を持つリスト オブジェクトを指定する必要があります。coxph(またはsurvfit) と一緒に検索すると、SO に関する多くの実用的な例がありますpredict。
predict
coxph
survfit