JointAI icon indicating copy to clipboard operation
JointAI copied to clipboard

JointAI glm_imp() stops working if logistf package is loaded

Open SiljeHS opened this issue 1 year ago • 0 comments

Hi!

Thank you for an excellent package!

I have come across an issue when performing logistic regression with JointAI, and thought to report it since JointAI asks me to report bugs each time I load the package :)

If the logistf package is loaded in Rstudio, the glm_imp function returns the following error: Error in terms.formula(formula) : invalid term in model formula.

The only fix that have worked for me is closing Rstudio completely, restarting and do analyses with JointAI before loading logistf. Detatching logistf or running code as JointAI::glm_imp() did not work.

Best regards, Silje

SiljeHS avatar Mar 08 '24 10:03 SiljeHS