knitr - Rotate a table from R markdown in pdf -
I'm typing in the R markdown and there is a casual table that is quite broad. I am changing the R markdown document in a PDF using pandf and I would like to rotate or shrink the table. I am misusing the option of data in the knitting to try it, but do I use the Kanye or Extable, I have no luck. Is this possible? Is there a way to rotate my table without switching over to latex?
I have tried some permutations:
`` [out.extra = 'angle = 90', result = 'ASIS'] library ( Sterile cable (Iris [1: 5,]) `` R size = 'Footnotis', Results = 'ASIS'} Library (Nitter) cable (Iris [1: 5,]) 'Angle = 90', result = 'asis') Library (Ext.) Extable (Iris [1: 5,]) `` `R shape = 'footnotesize', results = 'asis'} Library Extabling (Iris [1: 5,]) ``
All these table looks well Not, but do not rotate it.
I am using to knit
ruf-A "library (knit); knit ('table. Rmd', 'table .md')"
and to convert to PDF
pandoc table.md -o table.pdf
Can you use only T ()?
Library (ext.) Exist (T (Iris [1: 5,]))
If your table is still longer, then Divide into several tables for example:
partition = floor (for sic (1, nocl (iris), length = 5)) (in 2: length (division)) { Mini.tab = iris [, splits [I-1]: split [I]] Extable (Mini. TAB)}
Comments
Post a Comment