Output statistical test results to Word

How do I output a statistical test results to microsoft word?

model=lm(PD ~ . ,data=dataset)

Please help. I am quite new at R and cant seem to find much on this.

You could try this package https://cran.r-project.org/web/packages/officer/vignettes/word.html

You could also write your report on a .Rmd file and knit it as a word document.


1 Like

huxtable is a package for formatting table for different output including word. (through Rmd documents).


It has a function specifically for regression result.


I think this could help.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.