Native Displayr tables are created by dragging variable sets from a data set onto a page or by using Table > Table from Data Set. These tables can be modified by:
- Combing categories on the table.
- Changing the Structure of the variable sets.
- Applying rules.
- Changing the selected STATISTICS.
Displayr's native tables are almost always much, much faster than tables created by writing code or by choosing the specialty tables from the Table menu. This is an example of the more general Use Displayr's In-Built Features (Instead of Writing Code).
The table on the left is a native Displayr table. Each table summarizes 18 nominal (binary) variables for a sample of 1,000 people. The table on the right was created using R code.
In pretty much every way imaginable, the native Displayr table is superior:
- The Displayr table took less than 0.01 seconds to calculate. The table on the right took 0.41 seconds (this is due to the overhead discussed in Reduce the Number of Calculations in a Document).
- The table on the left was created by a single drag of the data onto the page. The table on the right was created using the following code. The time taken to learn enough R to write such code is non-trivial.
t(prop.table(sapply(Satisfaction, table), 2)*100)
- The table on the left has automatic statistical testing.
- The table on the left can be filtered. The table on the right would have to have its code modified.
- The table on the left has a caption.
Please sign in to leave a comment.