Closed nathansam closed 1 year ago
The newest CRAN version of timereg has broken the CIF report. For some reason, cens.model = cox without explicitly specifying the weights is no longer supported.
timereg
cens.model = cox
https://github.com/scheike/timereg/blob/ca44719f4650a84ea981fd6c964897294ae5c31f/R/comprisk.r#L394-L418
This affects the following code which will now error.
https://github.com/KarlaMonterrubioG/Competing_risks/blob/7178c981e6673dafc45105ecaaff7c4905d5a4e7/Source/CIF_specification.Rmd#L384-L402
The options seem to be:
cens.model = "KM"
cens.model = "stratKM"
"cox"
I have pushed a change just setting cens.model to the default value
The newest CRAN version of
timereg
has broken the CIF report. For some reason,cens.model = cox
without explicitly specifying the weights is no longer supported.https://github.com/scheike/timereg/blob/ca44719f4650a84ea981fd6c964897294ae5c31f/R/comprisk.r#L394-L418
This affects the following code which will now error.
https://github.com/KarlaMonterrubioG/Competing_risks/blob/7178c981e6673dafc45105ecaaff7c4905d5a4e7/Source/CIF_specification.Rmd#L384-L402
The options seem to be:
cens.model = "KM"
orcens.model = "stratKM"
instead of"cox"
.timereg
section.