Blog

Data Blog

 

LATEST BLOG POSTS

All Data Analytics/Data Science R

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()…
CONTINUE READING

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…
CONTINUE READING

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…
CONTINUE READING

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…
CONTINUE READING

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.…
CONTINUE READING

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,…
CONTINUE READING