: Used for analyzing associations in multi-way contingency tables. Recommended Packages

: Provides advanced tools for visualizing categorical data, including mosaic and association plots. confreq : Designed for Configural Frequency Analysis (CFA).

: Functions like factor() or as.factor() convert character vectors into categorical variables.

: By default, R orders levels alphabetically. For ordinal data (e.g., "Low", "Medium", "High"), you can define a specific order using the levels argument in factor() or functions in the forcats package . Descriptive Statistics

Visual tools help identify patterns and relationships between categories.

: Specialized for working with factors and reordering levels.