Closed deva80 closed 7 years ago
Can we input categorical variables with more than 2 levels using factor() notation in flexsurvspline? Or do I have to make dummy variables? Also, can we use interaction terms?
Certainly, all standard R formula syntax should work in flexsurvreg and flexsurvspline. Have you tried what you want?
Can we input categorical variables with more than 2 levels using factor() notation in flexsurvspline? Or do I have to make dummy variables? Also, can we use interaction terms?