# Table

There are two basic ways of creating tables in Displayr. A table can be created using an Calculation or by dragging and dropping onto a Page from the **Data Sets** tree.

## Contents

# Creating tables

## Summary tables

When a Variable Set is dragged from the **Data Sets** tree a **SUMMARY** Table is created. Summary tables can contain multiple *statistics*, such as both percentages and *counts*, and that they can also be one or two-dimensional in terms of the data that they represent (this is determined by the Variable Set Structure, as described below).

## Crosstabs

A *crosstab* is created when a second Variable Set is dragged onto a *Summary Table*.

## Tables created from Calculations

Tables can also be created using R code (see Calculation). Note that this type of table is ultimately a custom Calculation and is qualitatively different to summary tables and crosstabs (e.g., you can sort this type of table by clicking on the column headings).

# Manipulating tables and controlling their appearance

## Summary tables and crosstabs

The appearance of a table is governed by:

- The properties of the Variable Set:
- The selections in the
**Inputs**and**Properties**sections of the Object Inspector on the right of the screen:- The data.
- The statistics.
- Filter(s) (see Filters in Displayr).
- Weight (see Weights in Displayr).
- Appearance.

## R Output tables

The appearance of a table created by a custom Calculation is governed by the:

- R code.
- Selections under
**Appearance**in the Object Inspector.