Open 11annah opened 8 months ago
Currently, I have attempted to solve this with the error message
stop(paste0("The name of the regressor(s) '",paste(regs[contained], collapse=" & "),"' is fully contained within another regressor name.\nUnfortunately, this is incompatible with the CompInt package's functionality.\nPlease rename the regressor(s) accordingly."))
Maybe we could add an automatic rename feature though?
When creating the linear predictor of the g_theta function, I am currently renaming the regressor of interest into "RI". Unfortunately, this is an issue if either
appears within the name of another regressor...
The function is currently stored in in utils.R