Open and copy html and paste into Excel to format tables for manuscript in MS Word.
e_lm_print_html_summary(
fit = fit,
n_digits = 3,
n_digits_p = 4,
filename_html = "table_model.html"
)
result of lm()
number of digits to use for estimates in table
number of digits to use for p-values in table
filename.html to save html, NULL to not save
html table to print within Rmd report
fit <-
lm(
mpg ~ cyl + disp + hp + drat + wt + qsec
, data = dat_mtcars_e
)
e_lm_print_html_summary(
fit = fit
, n_digits_p = 4
, filename_html = NULL # NULL will not save html
)