Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Tables

Tables are one of the most cumbersome structures to create when using Markdown. Having said that, it's still not hard to create them. If you align them, everything looks normal. However, most of the time, people don't align them, and they seem a bit odd if you're not used to the syntax. By non-aligned tables, we mean that there are no padding spaces after items so that vertical lines align. The table shown as follows is an aligned table.

If we use the following input:

| First column | Second column | Third column |
|--------------|---------------|--------------|
| Item one     | Item two      | Item three   |
| Item four    | Item five     | Item six     |
| Item seven   | Item eight    | Item nine    |

We get the following output:

First column

Second column ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content