Data Analysis and Visualization with R and RStudio
ud404: Data and Visual Analytics
=========================================================================================
Goals:
- Understand the different techniques and theory behind data visualization and analytics
- Be able to write programs and scripts that analyze and visualize data
- Be effective in a real world data analysis situation.
Model Data using:
- Linear Regression
- Logistic Regression
- 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)
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')
