exclude Function (GPL)

Syntax

exclude("category name" ...)

<category name>. The string representing the category on the axis. If specifying multiple categories, separate them with commas.

Description

Excludes the categories from the axis. These categories are not displayed on the axis. This function can be used only with categorical scales for dimensions, not scales for aesthetics.

Examples

Figure 1. Example: Exclude a category
SCALE: cat(dim(1), exclude("No Response"))
Figure 2. Example: Excluding multiple categories
SCALE: cat(dim(1), exclude("No Response", "Didn't Ask"))