When you create standard tables in Displayr by dragging and dropping variable sets onto the Page, there are options to add either Statistics > Right or Statistics > Below to your tables. These statistics cannot be referenced in R without some additional code.
In this example, note that the table has the Average added as a Statistic - Below.
Requirements
You will need a table that has a statistic from Statistics > Right or Statistics > Below applied.
Method
1. In the toolbar select Calculation > Custom Code.
2. Click on the page to insert the object.
3. In the code editor, paste the following:
x <- my.table.name
attr(x, "Below")
4. Replace my.table.name with the reference name of the table in the document that you're working with.
To get the values from Statistics > Right replace the last line of the above code with:
attr(x, "Right")