No articles match
Fourfold Displays for 'ggplot2'2 days ago
Fourfold displays | Example: Berkeley admissions | Stratified $2 \times 2 \times k$ tables | Confidence rings | Reading the rings | Customizing the display | Square cells | Cell counts | Colors | Diagonal line | Working with 'ggplot2' | References
Fourfold Displays for 'ggplot2'14 days ago
Fourfold displays | Example: Berkeley admissions | Stratified $2 \times 2 \times k$ tables | Confidence rings | Reading the rings | Customizing the display | Square cells | Cell counts | Colors | Diagonal line | Working with 'ggplot2' | References
Introducing ggmosaic2: an enhanced ggmosaic2 months ago
Basic Appearance | Utilizing the top and right axes | theme_mosaic() | Spacing of cells | Faceting is Fixed | Residual-Based Shading | Sharing settings between mosaic layers | Other fixes/changes | References
ggmosaic and Loglinear Models2 months ago
Introduction | Basic Example: Independence Model | Simple Mosaic Plot (No Model) | Extended Mosaic Plot with Residual Shading | Model Specification | 1. Shortcut Strings | 2. Custom Formulas | 3. Conditional Independence | Interpreting Residuals | What Do Residuals Mean? | Three-Way Tables | Labeling Cells with Values | Display Observed Counts | Display Residuals | Display Expected Frequencies | The Four Display Options | Customizing the Color Scale | Text Aesthetics | Complete Example: Comparing Models | References | Session Info
Three Forms of Frequency Tables for Mosaic Displays2 months ago
Introduction | The Three Forms | Table Form | Frequency Form | Case Form | Converting Between Forms | Examples | Using Each Form with geom_mosaic() | Working with the Three-Way Table: Hair × Eye × Sex | Using Conditioning Variables | Default Shading vs. Residual-Based Shading | Default Shading | Residual-Based Shading | Independence Model for Two-Way Table | Adding Cell Values | Independence Model for Three-Way Table | Custom Models | Comparing Observed and Expected | Summary | Key Takeaways | Recommendations | References | Session Info
Mosaic plots with ggplot23 months ago
How to use ggmosaic | Examples | One variable | Two variables | Conditioning | Alternative to conditioning: faceting | The importance of ordering | Other features of geom_mosaic() | Divider function: Types of partitioning | Partitioning with one or more variables | Adjusting the offset | Version compatibility issues with ggplot2
tidyCat: Tidy Methods For Categorical Data Analysis3 months ago
Frequency tables need some Tidy Love ❤️ | Constructing categorical data sets | Manipulating categorical data sets | Manipulating factor levels | Models | Graphical methods | Some tidy stuff | References
Creating and manipulating frequency tables 6 months ago
Forms of frequency data | Case form | Frequency form | Table form | Ordered factors and reordered tables | Re-ordering dimensions | structable() | table() and friends | xtabs() | Collapsing over table factors: aggregate(), margin.table() and apply() | Collapsing table levels: collapse.table() | Collapsing table levels: dplyr | Collapsing table levels: collapse_levels() | Converting among frequency tables and data frames | Tidy conversions | A complex example | References
1a. Steps Toward Tidy Categorical Data Analysis6 months ago
Overview | Tidy Collapsing | Tidy Conversions | Proportions | Taken Together
Continuous predictors 11 months ago
Spine and conditional density plots | Model-based plots: effect plots and ggplot2 plots | References
Tests of Independence 1 years ago
CrossTable | Chi-square test | Fisher Exact Test | Mantel-Haenszel test and conditional association | Some plot methods | Fourfold displays | Doubledecker plots | Odds ratio plots | Cochran-Mantel-Haenszel tests for ordinal factors | Measures of Association | Measures of Agreement | Correspondence analysis
Loglinear Models 2 years ago
Fitting with loglm() | Fitting with glm() and gnm() | Non-linear terms | References
Mosaic plots 2 years ago
Permuting variable levels | Square tables | Correspondence analysis ordering | References
Demo - Housing Data 2 years ago
Load packages | Housing data | Variables, levels and models | Null model | Baseline model | Visualising model fit | Ordering the variables in the mosaic | Adding association terms | Did the model get better? | Visualize model glm1 | Can we drop any terms? | What about two-way interactions? | Model parsimony: AIC & BIC
Mobility tables 2 years ago
Social mobility | Models | Hauser data | Load packages | Mosaic plots | Fitting and graphing models | Quasi-independence | Symmetry and quasi-symmetry | Topological models | Ordinal tables | Model comparison plots | References
Datasets for categorical data analysis2 years ago
Processing tags | Make this into a nice table | Add links to help() | Make the table