## 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 78 (Python): Choosing a chart for your Project, Univariate and Bivariate Data, Project – Investigate a Dataset

I’m taking a nanodegree course entitled “Data Analysis” by Udacity and all of the concepts described below come from that course.   Choosing a chart for your project         Project     Notes # Remove rows with zero values. df = df[(df != 0).all(1)] # List of …

## Progress Log 68 (Excel): Moving Averages

I’m taking a nanodegree course entitled “Data Analysis” by Udacity and all of the concepts described below come from that course. Moving Averages   Moving averages smooth out data to make it easier to observe long term trends and not get lost in daily fluctuations. Let us first evaluate sales …