Statistics with R

  1. R Data Structures
    1. Vectors
      1. Vector Concepts
        1. Creating Vectors
          1. c() Function
            1. seq() Function
              1. rep() Function
                1. Colon Operator
                2. Atomic Vector Types
                  1. Numeric Vectors
                    1. Integer Vectors
                      1. Character Vectors
                        1. Logical Vectors
                          1. Complex Vectors
                            1. Raw Vectors
                            2. Vector Properties
                              1. Length
                                1. Type
                                  1. Class
                                  2. Vector Operations
                                    1. Element-wise Operations
                                      1. Vectorization Concept
                                        1. Recycling Rules
                                          1. Vectorized Functions
                                          2. Vector Indexing and Subsetting
                                            1. Positive Integer Indexing
                                              1. Negative Integer Indexing
                                                1. Logical Indexing
                                                  1. Character Indexing
                                                    1. Multiple Element Selection
                                                    2. Named Vectors
                                                      1. Creating Named Vectors
                                                        1. Accessing Named Elements
                                                          1. names() Function
                                                        2. Factors
                                                          1. Categorical Data Representation
                                                            1. Creating Factors
                                                              1. factor() Function
                                                                1. as.factor() Function
                                                                2. Factor Levels
                                                                  1. Inspecting Levels
                                                                    1. Ordering Levels
                                                                      1. Adding Levels
                                                                        1. Dropping Levels
                                                                        2. Ordered Factors
                                                                          1. Factor Conversion
                                                                            1. Converting to Character
                                                                              1. Converting to Numeric
                                                                            2. Matrices
                                                                              1. Matrix Concepts
                                                                                1. Creating Matrices
                                                                                  1. matrix() Function
                                                                                    1. Dimension Arguments
                                                                                      1. byrow Parameter
                                                                                      2. Matrix Properties
                                                                                        1. Dimensions
                                                                                          1. Row and Column Names
                                                                                          2. Matrix Operations
                                                                                            1. Arithmetic Operations
                                                                                              1. Matrix Multiplication
                                                                                                1. Transpose
                                                                                                  1. Matrix Inverse
                                                                                                  2. Matrix Indexing
                                                                                                    1. Row Indexing
                                                                                                      1. Column Indexing
                                                                                                        1. Element Selection
                                                                                                          1. Slicing Operations
                                                                                                        2. Arrays
                                                                                                          1. Multi-dimensional Arrays
                                                                                                            1. Creating Arrays
                                                                                                              1. array() Function
                                                                                                                1. Dimension Specification
                                                                                                                2. Array Indexing
                                                                                                                  1. Array Operations
                                                                                                                  2. Lists
                                                                                                                    1. List Concepts
                                                                                                                      1. Creating Lists
                                                                                                                        1. list() Function
                                                                                                                          1. Heterogeneous Data Storage
                                                                                                                          2. List Elements
                                                                                                                            1. Accessing with [[]]
                                                                                                                              1. Accessing with $
                                                                                                                                1. Multiple Element Access
                                                                                                                                2. Nested Lists
                                                                                                                                  1. List Modification
                                                                                                                                    1. Adding Elements
                                                                                                                                      1. Removing Elements
                                                                                                                                        1. Modifying Elements
                                                                                                                                        2. Named Lists
                                                                                                                                        3. Data Frames
                                                                                                                                          1. Tabular Data Structure
                                                                                                                                            1. Creating Data Frames
                                                                                                                                              1. data.frame() Function
                                                                                                                                                1. Column Specification
                                                                                                                                                  1. Row Names
                                                                                                                                                  2. Data Frame Properties
                                                                                                                                                    1. Dimensions
                                                                                                                                                      1. Column Names
                                                                                                                                                        1. Row Names
                                                                                                                                                          1. Structure
                                                                                                                                                          2. Inspecting Data Frames
                                                                                                                                                            1. str() Function
                                                                                                                                                              1. head() and tail() Functions
                                                                                                                                                                1. summary() Function
                                                                                                                                                                  1. View() Function
                                                                                                                                                                  2. Data Frame Indexing
                                                                                                                                                                    1. Column Selection
                                                                                                                                                                      1. Row Selection
                                                                                                                                                                        1. Element Selection
                                                                                                                                                                          1. $ Operator
                                                                                                                                                                            1. Logical Subsetting
                                                                                                                                                                            2. Data Frame Modification
                                                                                                                                                                              1. Adding Columns
                                                                                                                                                                                1. Adding Rows
                                                                                                                                                                                  1. Removing Columns
                                                                                                                                                                                    1. Removing Rows
                                                                                                                                                                                  2. Tibbles
                                                                                                                                                                                    1. Modern Data Frames
                                                                                                                                                                                      1. tibble() Function
                                                                                                                                                                                        1. Differences from Data Frames
                                                                                                                                                                                          1. Converting Between Tibbles and Data Frames
                                                                                                                                                                                            1. glimpse() Function