Open and copy html and paste into Excel to format tables for manuscript in MS Word.

e_lm_print_html_anova(
  fit = fit,
  n_digits = 3,
  filename_html = "table_anova.html"
)

Arguments

fit

result of lm()

n_digits

number of digits to use for estimates in table

filename_html

filename.html to save html

Value

html table to print within Rmd report

Examples

fit <-
  lm(
    mpg ~ cyl + disp + hp + drat + wt + qsec
  , data = dat_mtcars_e
  )
e_lm_print_html_anova(
    fit           = fit
  , n_digits      = 3
  , filename_html = NULL # NULL will not save html
  )