R Programming

  1. Data Visualization
    1. Visualization Principles
      1. Grammar of Graphics
        1. Visual Encoding
          1. Chart Type Selection
            1. Color Theory
              1. Accessibility Considerations
              2. Base R Graphics System
                1. Graphics Devices
                  1. Screen Devices
                    1. File Devices
                      1. Device Management
                      2. High-level Plotting Functions
                        1. `plot()` Generic Function
                          1. Scatter Plots
                            1. Line Plots
                              1. Method Dispatch
                              2. `hist()` for Histograms
                                1. Bin Specification
                                  1. Density Plots
                                  2. `boxplot()` for Box Plots
                                    1. Single and Multiple Boxes
                                      1. Outlier Display
                                      2. `barplot()` for Bar Charts
                                        1. Horizontal and Vertical
                                          1. Grouped Bars
                                          2. `pie()` for Pie Charts
                                            1. Slice Labels
                                              1. Color Specification
                                            2. Low-level Graphics Functions
                                              1. `points()` for Adding Points
                                                1. `lines()` for Adding Lines
                                                  1. `text()` for Adding Text
                                                    1. `legend()` for Legends
                                                      1. `abline()` for Reference Lines
                                                        1. `polygon()` for Filled Areas
                                                        2. Graphics Parameters
                                                          1. `par()` Function
                                                            1. Color Parameters
                                                              1. Line Parameters
                                                                1. Text Parameters
                                                                  1. Margin Parameters
                                                                  2. Multiple Plots
                                                                    1. `layout()` Function
                                                                      1. `par(mfrow)` and `par(mfcol)`
                                                                        1. Split Screen Plotting
                                                                        2. Saving Plots
                                                                          1. Graphics Devices for Files
                                                                            1. Resolution and Size Settings
                                                                              1. Format-specific Options
                                                                            2. Advanced Visualization with ggplot2
                                                                              1. ggplot2 Philosophy
                                                                                1. Grammar of Graphics Implementation
                                                                                  1. Layered Approach
                                                                                    1. Aesthetic Mapping Concept
                                                                                    2. Basic ggplot2 Structure
                                                                                      1. `ggplot()` Function
                                                                                        1. Data and Aesthetic Mapping
                                                                                          1. Layer Addition
                                                                                          2. Aesthetic Mappings
                                                                                            1. `aes()` Function
                                                                                              1. Position Aesthetics
                                                                                                1. Color and Fill Aesthetics
                                                                                                  1. Size and Shape Aesthetics
                                                                                                    1. Global vs. Local Aesthetics
                                                                                                    2. Geometric Objects (Geoms)
                                                                                                      1. Point Geoms
                                                                                                        1. `geom_point()` for Scatter Plots
                                                                                                          1. `geom_jitter()` for Jittered Points
                                                                                                          2. Line Geoms
                                                                                                            1. `geom_line()` for Line Plots
                                                                                                              1. `geom_path()` for Connected Points
                                                                                                                1. `geom_smooth()` for Trend Lines
                                                                                                                2. Bar Geoms
                                                                                                                  1. `geom_bar()` for Bar Charts
                                                                                                                    1. `geom_col()` for Column Charts
                                                                                                                      1. `geom_histogram()` for Histograms
                                                                                                                      2. Distribution Geoms
                                                                                                                        1. `geom_boxplot()` for Box Plots
                                                                                                                          1. `geom_violin()` for Violin Plots
                                                                                                                            1. `geom_density()` for Density Plots
                                                                                                                            2. Text Geoms
                                                                                                                              1. `geom_text()` for Text Labels
                                                                                                                                1. `geom_label()` for Labeled Text
                                                                                                                              2. Statistical Transformations
                                                                                                                                1. Built-in Statistics
                                                                                                                                  1. `stat_summary()` Function
                                                                                                                                    1. Custom Statistical Transformations
                                                                                                                                    2. Coordinate Systems
                                                                                                                                      1. Cartesian Coordinates
                                                                                                                                        1. Polar Coordinates (`coord_polar()`)
                                                                                                                                          1. Map Projections
                                                                                                                                            1. Coordinate Transformations
                                                                                                                                            2. Faceting
                                                                                                                                              1. `facet_wrap()` for Single Variable
                                                                                                                                                1. `facet_grid()` for Two Variables
                                                                                                                                                  1. Facet Scales and Spaces
                                                                                                                                                    1. Free Scales
                                                                                                                                                    2. Scales
                                                                                                                                                      1. Continuous Scales
                                                                                                                                                        1. `scale_x_continuous()` and `scale_y_continuous()`
                                                                                                                                                          1. Breaks and Labels
                                                                                                                                                            1. Transformations
                                                                                                                                                            2. Discrete Scales
                                                                                                                                                              1. `scale_x_discrete()` and `scale_y_discrete()`
                                                                                                                                                                1. Level Reordering
                                                                                                                                                                2. Color Scales
                                                                                                                                                                  1. `scale_color_manual()`
                                                                                                                                                                    1. `scale_fill_gradient()`
                                                                                                                                                                      1. ColorBrewer Palettes
                                                                                                                                                                        1. Viridis Palettes
                                                                                                                                                                      2. Themes and Customization
                                                                                                                                                                        1. Built-in Themes
                                                                                                                                                                          1. `theme_minimal()`
                                                                                                                                                                            1. `theme_classic()`
                                                                                                                                                                              1. `theme_void()`
                                                                                                                                                                              2. Theme Elements
                                                                                                                                                                                1. Text Elements
                                                                                                                                                                                  1. Line Elements
                                                                                                                                                                                    1. Rectangle Elements
                                                                                                                                                                                    2. Custom Themes
                                                                                                                                                                                      1. `theme()` Function
                                                                                                                                                                                        1. Element Modification
                                                                                                                                                                                          1. Complete Theme Creation
                                                                                                                                                                                        2. Annotations and Labels
                                                                                                                                                                                          1. Plot Titles and Subtitles
                                                                                                                                                                                            1. Axis Labels
                                                                                                                                                                                              1. Caption and Tag
                                                                                                                                                                                                1. `annotate()` Function
                                                                                                                                                                                                2. Saving ggplot2 Plots
                                                                                                                                                                                                  1. `ggsave()` Function
                                                                                                                                                                                                    1. Size and Resolution
                                                                                                                                                                                                      1. File Format Options
                                                                                                                                                                                                    2. Specialized Visualization Packages
                                                                                                                                                                                                      1. Interactive Visualizations
                                                                                                                                                                                                        1. `plotly` Package
                                                                                                                                                                                                          1. `ggplotly()` Function
                                                                                                                                                                                                            1. Interactive Elements
                                                                                                                                                                                                              1. Hover Information
                                                                                                                                                                                                              2. `leaflet` for Maps
                                                                                                                                                                                                                1. Interactive Maps
                                                                                                                                                                                                                  1. Markers and Popups
                                                                                                                                                                                                                    1. Layer Management
                                                                                                                                                                                                                  2. Network Visualizations
                                                                                                                                                                                                                    1. `igraph` Package
                                                                                                                                                                                                                      1. `networkD3` Package
                                                                                                                                                                                                                      2. Time Series Visualizations
                                                                                                                                                                                                                        1. `dygraphs` Package
                                                                                                                                                                                                                          1. `xts` Plotting
                                                                                                                                                                                                                          2. Statistical Visualizations
                                                                                                                                                                                                                            1. `corrplot` for Correlation Matrices
                                                                                                                                                                                                                              1. `pheatmap` for Heatmaps