I`m searching for a method (or alternative) to get spaces between the columns of an stargazer html-table output.
As
stargazer::stargazer(mtcars, type = "html")
results in
which is not very good to read...
Thank´s in advance!
Samuel
You can also drop the CSS directly into the RMarkdown document (see here). eg.
---
title: "Untitled"
author: "Author"
date: "29 June 2017"
output: html_document
---
```{css, echo = FALSE}
table, td, th {
border: none;
padding-left: 1em;
padding-right: 1em;
margin-left: auto;
margin-right: auto;
margin-top: 1em;
margin-bottom: 1em;
}
```
```{r, results = "asis"}
stargazer::stargazer(mtcars, type = "html")
```
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With