vincentarelbundock / modelsummary

Beautiful and customizable model summaries in R.
http://modelsummary.com
Other
896 stars 74 forks source link

Quarto gfm format returns html #753

Closed vincentarelbundock closed 3 months ago

vincentarelbundock commented 3 months ago
# library(modelsummary)
pkgload::load_all()
ℹ Loading modelsummary
`modelsummary` 2.0.0 now uses `tinytable` as its default table-drawing
  backend. Learn more at: https://vincentarelbundock.github.io/tinytable/

Revert to `kableExtra` for one session:

  options(modelsummary_factory_default = 'kableExtra')

Change the default backend persistently:

  config_modelsummary(factory_default = 'gt')

Silence this message forever:

  config_modelsummary(startup_message = FALSE)
mod <- lm(mpg ~ hp, mtcars)
k = modelsummary(mod)
k
(Intercept) 30.099
(1.634)
hp -0.068
(0.010)
Num.Obs. 32
R2 0.602
R2 Adj. 0.589
AIC 181.2
BIC 185.6
Log.Lik. -87.619
F 45.460
RMSE 3.74
vincentarelbundock commented 3 months ago

the output is actually markdown, it's just Quarto that processes it and converts to html