Publications by Rachel Saidi

My first R Lab

26.01.2023

Introduction to R and RStudio When I don’t use hashtags, the font is black - this plain text largest subtitle smaller subtitle this is probably the smallest subtitle text #this will not work out as subtitle Create a chunk to write code windows: control alt i mac: command option i #remove.packages("rlang") #install.packages("rlang") library...

783 sym R (2255 sym/33 pcs) 2 img

R Lab 1 - Introduction to R and R Studio in Tidyverse

06.09.2022

Install and Load Packages # install.packages("tidyverse") # install.packages("openintro") library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.1.3 ## -- Attaching packages --------------------------------------- tidyverse 1.3.2 -- ## v ggplot2 3.3.6 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.9 ## v tid...

3521 sym R (5906 sym/47 pcs) 7 img

Reading Data into R in Three Different Ways (Quarto)

10.09.2022

Reading Data in 3 Ways Author Rachel Saidi Published February 5, 2022 Load Data from Three Different Sources In the following notes, you will load data directly from a URL, directly from pre-build datasets in R, and finally from a file you save in your own folder. Load Data from a URL You can load data from a folder or you can load data di...

8313 sym Python (10880 sym/56 pcs) 11 img

Working with Dates in R (More Advanced Topic)

10.09.2022

Working with Dates (More Advanced Topic) Author Rachel Saidi Working with Dates in R Adapted from Mark Niemann-Ross’s LinkdIn tutorial. All datasets for this tutorial may be found in the class datasets link: http://bit.ly/data110datasets Dates information can be challenging, due to the extreme variability of how it is recorded in a particul...

3799 sym Python (14087 sym/132 pcs) 1 img

Data Journalism - revealing doctor/pharma relationships

15.09.2022

Data 110 Data Journalism Rachel Saidi May 21, 2022 Remember to set your working directory Recall that you set the working directory to this folder by selecting from the top menu Session>Set Working Directory>Choose Directory. Then select the folder where you are keeping all your datasets for this class. By doing this, we can load the files in th...

9606 sym

Bar Charts with Diamonds Data HTML

15.09.2022

Bar Charts with Diamonds Dataset Author Rachel Saidi Published June 1, 2021 Access Library Tidyverse library(tidyverse) Load the pre-built dataset, Diamonds, and view it in the global environment head(diamonds) # shows the first few lines of the dataset # A tibble: 6 x 10 carat cut color clarity depth table price x y ...

3772 sym 10 img

Heatmaps, Treemaps, Streamgraphs, and Alluvials

24.09.2022

Treemaps Heatmaps Streamgraphs and Alluvials Rachel Saidi 2/18/2021 So many ways to visualize data Load the packages and the data from flowingdata.com website The data is a csv file that compares number of views, number of comments to various categories of Yau’s visualization creations #install.packages("treemap") #install.packages("RColorBr...

8033 sym 8 img 1 tbl

Heatmaps, Treemaps, Streamgraphs, and Alluvials html

24.09.2022

Treemaps Heatmaps Streamgraphs and Alluvials Author Rachel Saidi Published February 18, 2021 So many ways to visualize data Load the packages and the data from flowingdata.com website The data is a csv file that compares number of views, number of comments to various categories of Yau’s visualization creations #install.packages("treemap...

8169 sym Python (9937 sym/59 pcs) 8 img 1 tbl

Bar Charts with Diamonds Data Slides

27.09.2022

Bar Charts with Diamonds Dataset Rachel Saidi 6/1/2021 Access Library Tidyverse library(tidyverse) Load the pre-built dataset, Diamonds, and view it in the global environment head(diamonds) # shows the first few lines of the dataset # A tibble: 6 x 10 carat cut color clarity depth table price x y z <dbl> <ord> <o...

3708 sym 10 img

Scatterplots, Correlation, Regression, and Modeling

02.10.2022

Correlation, Scatterplots, and Regression Analysis -2 Author Rachel Saidi Published April 1, 2021 Create a Scatterplot In this example, look at US crime rates at the state level, in 2005, with rates per 100,000 population for crime types such as murder, robbery, and aggravated assault, as reported by the Census Bureau. There are 7 crime typ...

10553 sym Python (13715 sym/81 pcs) 27 img