I have a survival dataset and want to use package gestate
for analysis.
When I intent to fit model I obtain:
fit2 <- fit_tte_data(data=survdata,Time="dias",Event="entrega",censoringOne=F,type="automatic")
Error in Surv(T, E) : Time variable is not numeric
But, when I use glimpse to examine my data I obtain:
So, both variables ar numeric.
I don't understand where it fails.