'Exponentiate linear regression coefficient using the gtsummary package

I want to exponentiate my loge values in the gtsummary package but I am getting error when I said exponentiate= TRUE.

Can someone kindly help me?

mu <- lm(log(iron)~ treatment + log(erythroferrone)+ log(epo)+ log(crp)+ log(hepciden), data=endline1) %>% tbl_regression(exponentiate = TRUE)%>% as_gt() theme_gtsummary_journal(journal = "nejm")

Error in tidy_and_attach(., tidy_fun = tidy_fun, conf.int = conf.int, : exponentiate = TRUE is not valid for this type of model.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source