Publications by Dylan Putzlocker
Introduction to ggplot2
In this exercise you will learn to plot data using the ggplot2 package. To answer the questions below, use Chapter 4.3 Categorical vs. Quantitative Data Visualization with R. # Load packages library(tidyquant) ## Loading required package: lubridate ## ## Attaching package: 'lubridate' ## The following object is masked from 'package:base': ## #...
1134 sym R (4472 sym/30 pcs) 6 img
Quiz 1
Use the given code below to answer the questions. Q1 Import Netflix stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol. Find ticker symbols from Yahoo Finance. Q2 How many shares of the stock were traded on January 13, 2017? 10,515,000 NFLX shar...
2431 sym R (1054 sym/2 pcs) 2 img
Mock Quiz 1
Use the given code below to answer the questions. Q1 Get Walmart stock prices, instead of Apple. Hint: Insert a new code chunk below and type in the code, using the tq_get() function above. Replace the ticker symbol for Walmart. You may find the ticker symbol for Microsoft from Yahoo Finance. ## # A tibble: 1,046 x 7 ## date open high...
1762 sym R (760 sym/1 pcs) 1 img
My First Publication
Q1 What is R? R is a form of coding that is used to make presenting data and analayzeing less complex. Q2 What is RStudio? RStudio is a platform where R is used specificly for people to upload their work or recive feedback from others. Q3 What is R packages? R packages are like installing a mobile application on a cellular device, they’re ext...
528 sym
Clean data
In this exercise you will learn to clean data using the dplyr package. To this end, you will follow through the codes in one of our e-texts, Data Visualization with R. The given example code below is from Chapter 1.2 Cleaning data. ## # A tibble: 87 x 13 ## name height mass hair_color skin_color eye_color birth_year gender ## <chr> <int>...
986 sym R (1630 sym/4 pcs)
Quiz 4
Make sure to include the unit of the values whenever appropriate. Q1 Build a regression model to predict life expectancy using gdp per capita. Hint: The variables are available in the gapminder data set from the gapminder package. Note that the data set and package both have the same name, gapminder. library(tidyverse) ## ── Attaching packag...
2677 sym R (2183 sym/2 pcs)
Term Project
This is an extension of the tidytuesday assignment you have already done. Complete the questions below, using the screencast you chose for the tidytuesday assigment. Import data library(tidyverse) ## ── Attaching packages ────────────────────────────────────────�...
1586 sym R (6480 sym/6 pcs) 1 img