Data Analysis and Visualization with R and RStudio

ud404: Data and Visual Analytics

=========================================================================================

Goals:

  1. Understand the different techniques and theory behind data visualization and analytics
  2. Be able to write programs and scripts that analyze and visualize data
  3. Be effective in a real world data analysis situation.

Model Data using:

  1. Linear Regression
  2. Logistic Regression
  3. High dimensional data using regularization.

=========================================================================================

Instructor Sample Code from Lesson 1:

load the ggplot package (if not installed, please remove “the hash”)

# install.packages('ggplot2')
library(ggplot2)

NOTE:

package ‘RCollorBrewer’ is not available (for R version 3.6.3)

for that reason I commented the respective code lines

# install.packages('RCollorBrewer')
# library(RColorBrewer)

load the diamonds data set

data(diamonds)

create scatter plot of price vs. carat color coded by diamond cuts

qplot(data = diamonds, x = carat, y = price, color = cut) + 
  scale_color_brewer(palette = 'Accent')