splitLine | R Documentation |
This is a helper function to insert line breaks depending on (split.cells
parameter of pandoc.table
) of the returning table.
splitLine( x, max.width = panderOptions("table.split.cells"), use.hyphening = FALSE )
x |
string to be split. Works only with one string. Non-string arguments and multi-dimensional arguments are returned unchaged |
max.width |
default integer value specyfing max number of characters between line breaks |
use.hyphening |
(default: |
character string with line breaks
splitLine('foo bar', 6) splitLine('foo bar', 7) splitLine('Pandoc Package', 3, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.