I'm trying to write the following formula:
everything_time <- system.time(everything_rsf <- rfsrc( Surv(time = PFS, event = Censoring, type = c("right"))
~.-c(Sample.ID,PatientID,UniqueID,PFS,Censoring),
data = data_endogenous))
As you can see, I remove a whole bunch of variables. Yet, when I do everything_rsf$importance, I still have Sample.ID, PatientID, UniqueID in the model. I'm not sure why.
I've tried listing them out individually as well.