I created a summary table of my models in R
with the package modelsummary
and then customized the look with the kableExtra
package.
tab<-modelsummary(welfarestate,stars=c("*"=.1,"**"=.05,"***"=.01),statistic="std.error",title="WVS Welfarestate",output = "kableExtra",notes=list("*p<0.1, **p<0.05, ***p<0.1"),add_rows = rows_welfarestate)
tab%>%kable_styling(c("striped","hover"),font_size = 20)
What ist the best way to integrate the output in the R
Viewer window into a Word document without losing the formatting?
I found the information that it should be possible to copy the html output generated by kableExtra
from the Viewer in R
directly into a Word document. However,when I simply copy and paste nothing is displayed in my Word document. And copying from the html output in a web browser doesnt keep the formattig. Just creating a png loses some quality somehow.
Thanks in advance for your help.