0

I have a drc model in R, exponential decay with 3 parameters.

m1<- drm(df$Time ~ df$DeltaYear, fct=EXD.3())
modelFit(m1)
summary(m1)

summary(m1) gives me the model results but I need to print a table of this in R markdown. I have used the tbl_summary() function from library(gtsummary) before but now using tbl_summary(m1) I get the error

Error in UseMethod("ungroup") : no applicable method for 'ungroup' applied to an object of class "drc"

Is there any way to print a nice table of a drc model summary in R markdown?

shafee
  • 15,566
  • 3
  • 19
  • 47
bee761
  • 25
  • 3
  • 1
    `tbl_summary()` is only for data frames. Use this function instead: https://www.danieldsjoberg.com/gtsummary/reference/tbl_regression.html – Daniel D. Sjoberg Mar 07 '23 at 14:43

0 Answers0