View source: R/prevent_pagebreak.R
prevent_pagebreak | R Documentation |
xtable()
When using LaTeX's longtable environment it is sometimes desirable to prevent a page break for certain lines in the table. In LaTeX this is done by using *
at the end of the row. prevent_pagebreak
adds *
to specified lines of output from print.xtable
.
prevent_pagebreak(pxtab, lines)
pxtab |
the output from a call to |
lines |
either a numeric vector of row numbers or |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.