Closed ddsjoberg closed 3 weeks ago
This is due to the fact that there are some missing values in response variable passed to id
.
model.frame()
properly remove these lines with missing values for the identifier but variable labels are lost in the process.
model.frame.default()
keep the variable labels but does not take into account the id
.
So far, model_get_model_frame.coxph()
used model.frame.default()
to keep the variable resulting in an error in this specific case.
I have updated the function to use instead model.frame()
, copying then the variable labels from model.frame.default()
.
done here #269
let me know if it looks ok for you
Hey! I noticed this warning pop up. If you don't have the badnwidth, I can investigate in the next couple of weeks
Created on 2024-08-21 with reprex v2.1.1