How to make markdown tables?


#1

How to insert a table ?


FAQ: How to make your code look nice? Markdown Formatting
#2

Markdown tables:

But I think tables look better formatted on community.rstudio.com via a tibble in a reprex


#3

To complete the previous answer, know that there are some useful tool online to help create markdown table like
https://www.tablesgenerator.com/markdown_tables

With R a reprex can be enough. You can also let knitr create the markdown table using knitr::kable. It should work inside a reprex too. Good for formatting result but not so good for someone else to copy and replay your code if help needed.