Introduction
Sometimes you may need to add appendix tables or tables of raw data to your Displayr document. If you want to add very customized formatting to these tables you can create an Autofit or CreateCustomTable R Table, but these tables try to fit all of the data in the size of the output. This article describes how to go from an Autofit or CreateCustomTable R table where some of the data is cut off or too scrunched (note the below table actually has 600 rows):
To one that has scrolling enabled:
Requirements
- An Autofit table (see How to Create an Autofit Table) or CreateCustomTable R Table (see How to Create a CreateCustomTable R Table of Sample Sizes)
Method - Autofit table
- Select your Autofit table.
- Go to Properties > R CODE and use Ctrl+F to find the line of code for
row.header.labels
- Insert a line above and paste in code that sets a value for
row.height
(note you can change 12px to a different px size based on the font size in your table):
row.height = "12px",
- Click Calculate.
Method - CreateCustomTable R Table
- Click on your Calculation output.
- In the Properties > R CODE box, inside the flipFormat::CreateCustomTable() function, add a line for the
row.height
argument (note you can change 12px to a different px size based on the font size in your table). For example:
mytable = table.Q1a.Spontaneous.Awareness.Spontaneous.Awareness.mention
flipFormat::CreateCustomTable(mytable,
row.height="12px") - Click Calculate.
See Also
How to Create an Autofit Table
How to Create a CreateCustomTable R Table of Sample Sizes
How to Customize Colors on a CreateCustomTable R Table
Comments
0 comments
Please sign in to leave a comment.