linebreak | R Documentation |
This function generates LaTeX code of makecell
so that users
can have linebreaks in their table
linebreak(x, align = "l", double_escape = F, linebreaker = "\n")
x |
A character vector |
align |
Alignment of the text |
double_escape |
Whether special character should be double escaped. Default is FALSE. |
linebreaker |
Symbol for linebreaks to replace. Default is |
Not all align
settings are supported, but
simple ones such as l
, c
, r
should be fine.
More exotic ones like p{3cm}
should work too,
but may not if they are too complicated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.