R: discSurv::dataLongの注意点
先日紹介したR: discrete time hazard modelで利用したdataLongコマンドではまりました。timeColumnに指定したカラム名は間違っていないのですが、エラーメッセージがでてきます。
> cohort4 <- dataLong(cohort3, timeColumn="outcome_day_var", censColumn="outcome_var") Error in dataLong(cohort3), timeColumn = "outcome_day_var", : *timeColumn* is not available in *dataSet*! Please specify the correct column of observed items.(さらに…)
続きを読む
R: discSurv::dataLongの注意点