Publications by Rachel Saidi
Airquality Tutorial and Homework
Load in the Dataset. Because airquality is a pre-built dataset, we can write it to our data directory to store it for later use. # install.packages("tidyverse") library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.1.2 ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 ...
1793 sym R (4073 sym/36 pcs) 4 img
MATH 217 - Lab 1
Intro to R and R Studio Lab 1 Install the necessary packages for this lab # install.packages("tidyverse") # install.packages("openintro") Access the packages using “libarary” library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.2 v ...
228 sym R (1242 sym/18 pcs)
R Lab 4 - Distributions
Loading packages library(tidyverse) ## Warning: package 'tidyverse' was built under R version 4.1.1 ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.2 v dplyr 1.0.7 ## v tidyr 1.1.3 v stringr 1.4.0 ## v readr 1.4.0 v forcats 0.5.1 ## --...
5068 sym R (7274 sym/56 pcs) 18 img
Graphs of 3-D Functions in R
Graph 3-D Function cone <- function(x, y){ sqrt(x^2+y^2) } Prepare Variables x <- y <- seq(-1, 1, length= 20) z <- outer(x, y, cone) Plot the 3-D surface persp(x, y, z) Add Titles/Labels Colors persp(x, y, z, main="Perspective Plot of a Cone", zlab = "Height", theta = 30, phi = 15, #theta changes the amount of horizontal...
168 sym R (631 sym/8 pcs) 3 img
Bar Charts Using Diamonds Dataset
Install required packages library(tidyverse) #use library(package) every new document ## Warning: package 'tidyverse' was built under R version 4.1.1 ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.2 v dplyr 1.0.7 ## v tidyr 1.1.3 v stringr ...
1057 sym R (2313 sym/17 pcs) 10 img
DATA 110 - Reading in Data in 3 Ways
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 directly from a URL. The next example loads the dataset, “Test Scores”, di...
8452 sym R (9859 sym/59 pcs) 9 img
Webscraping IMDB Assignment
Install necessary packages for this project #install.packages('rvest') #Loading the rvest package library(rvest) library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.1 -- ## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.6 v dplyr 1.0.7 ## v tidyr 1.1.4 v stringr 1.4.0 ## v read...
2825 sym R (18009 sym/87 pcs)
Disease and Democracy, DS Labs, and Highcharter
Disease and Democracy This data attempts to illustrate a controversial theory suggesting that the emergence of democratic political systems has depended largely on nations having low rates of infectious disease, from the Global Infectious Diseases and Epidemiology Network and Democratization: A Comparative Analysis of 170 Countries Load the requ...
8699 sym R (23449 sym/75 pcs) 9 img
Disease Prevalence and Democratization Score
Disease and Democracy This data attempts to illustrate a controversial theory suggesting that the emergence of democratic political systems has depended largely on nations having low rates of infectious disease, from the Global Infectious Diseases and Epidemiology Network and Democratization: A Comparative Analysis of 170 Countries Load the requ...
2169 sym R (12399 sym/32 pcs) 5 img
accessibility
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 directly from a URL. The next example loads the dataset, “Test Scores”, di...
8818 sym R (10919 sym/61 pcs) 13 img