Publications by Glen Dale Davis
Data 605 - Homework 1
Load the required packages library(ggplot2) library(gganimate) library(gifski) library(knitr) Create the letter G rG <- -1 aG <- -1 #origin x coordinate since half circle for G won't be centered at (0, 0) like half circle for D is, but at (-1, 0) instead tG <- seq(-1,-2,length.out=500) uG <- seq(-2,-1,length.out=500) vG <- rep(-1,250) wG...
281 sym R (4963 sym/9 pcs) 6 img
R_Bridge_Week3_Assignment
Load the Nutrition in Fast Food Data and Required Packages: The nutritional content (calories, calories from fat, grams of protein, etc.) of 515 fast food items from various chain restaurants was measured and recorded. Below, we load this fast food data set and the packages required for analysis. #Data my_url <- "https://raw.githubusercontent...
5194 sym R (5514 sym/22 pcs) 10 img
Data 607 - Assignment 1
Introduction FiveThirtyEight published an interesting article about Super Bowl commercials a couple years ago, entitled “According to Super Bowl Ads, Americans Love America, Animals and Sex”. They researched over 200 commercials from the 10 brands that advertised the most between the year 2000 and the year 2020 (according to superbowl-ads...
3021 sym R (5608 sym/7 pcs) 2 img
R_Bridge_Week_1_Assignment
Part 1 Write a loop that calculates 12-factorial. input <- 12 # Stores number for which factorial should be calculated series <- 1:input # Creates vector of integers from 1 to said number for (i in series){ if (i == 1){ #We're at the beginning, so we start computing cur <- series[i] * series[i + 1] }else if(i == length(series)){...
333 sym Python (1002 sym/6 pcs)
R_Bridge_Week2_Assignment
Read the Data/Load Packages library(knitr) library(rmarkdown) library(magrittr) library(plyr) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:plyr': ## ## arrange, count, desc, failwith, id, mutate, rename, summarise, ## summarize ## The following objects are masked from 'package...
1073 sym R (8612 sym/58 pcs)