I have a .Rmd file and I want to export it to a HTML file.
But the tables look wrong. In Rstudio the table looks good:
But when I export it to HTML (or PDF, Word, clicking on 'Knit'), then the table is not displayed properly:
Maybe you are looking for kable, which can output md table, and set the results option to asis.
efficient <- mtcars[mtcars$mpg > 23,]