## Progress Log 110 (R): Matrix Arithmetic

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Matrix arithmetic colSums() – takes the sum of each column and stores the result in a vector. rowSums() – takes the sum of each row and stores …

## Progress Log 109 (R): Matrix Subsetting

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Subset element Just as for vectors, there are situations in which you want to select single elements or entire parts of a matrix to continue your analysis …

## Progress Log 108 (R): Create and Name Matrices

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Matrix Vector: 1D array of data elements. Matrix: 2D array of data elements. Rows and columns. Can only contain one atomic vector type. Create a matrix To …

## Progress Log 107 (R): Vector Subsetting

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Subset by index Suppose you know what you want to select the first element from the vector remain. You can use square brackets to do this. The …

## Progress Log 106 (R): Vector Arithmetic

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Computations are performed element-wise. As you can see, R multiplies each element in the vector with 3. This works with other mathematical operators as well. Element-wise Subtraction …

## Progress Log 105 (R): Create and Name Vectors

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Vectors A sequence of data elements. Same basic data type. You can have character vectors, numeric vectors, logical vectors, etc. Create a Vector c() Character Vector Suppose …

## Progress Log 104 (R): Basic Data Types

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Data Types class() reveals what type a variable is. Logical: otherwise known as boolean values, can either be TRUE or FALSE (note: NA can also be a …

## Progress Log 103 (R): The True Basics

I’m taking an edX course entitled “Introduction to R for Data Science” and all of the concepts described below come from that course. Console Basic Arithmetic. We can calculate the sum of 1 and 2 by simply typing 1 + 2 in the console and hitting enter. 1 + 2 …

## Progress Log 17 (R): Proportions, Averages and Standard Deviations

I’m taking a course entitled “Data Science: Visualization” by HarvardX at edX and all of the concepts described below come from that course.   Proportions   Averages and Standard Deviations   Approximations Seven footers and the NBA   Estimating the number seven footers   How many seven footers are in …

## Progress Log 16 (R): Normal Distribution; Mean (R code), Standard Deviation (R code), Standard Units (R code)

I’m taking a course entitled “Data Science: Visualization” by HarvardX at edX and all of the concepts described below come from that course.   Normal Distribution The normal distribution, also known as the bell curve and as the Gaussian distribution, is one of the most famous mathematical concepts in history. A reason for …