Publications by Kelsey Walker
My First Publication
Q1 What is R? R is for when coding Q2 What is RStudio? RStudio is a place for coding a website. Q3 What is R packages? R packages is similar to apps for any other type of technology, it allows you to have access to more things. Note: For help with RMarkdown syntax, go Help > Cheatsheets > R Markdown Reference Guide. Q4 Add a code chunk. summar...
352 sym R (262 sym/2 pcs)
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. ## # A tibble: 780 x 7 ## date open high low close volume adjusted ## ...
2414 sym R (1800 sym/3 pcs) 1 img
Bivariate Graphs
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. Q1 Plot the distribution of daily returns by stock using kernel density plots. Hint: See the code in 4.3.2 Grouped kernel density plots. Q2 Plot the distribution of daily...
1541 sym 5 img
Quiz 3
The data set is from a case-control study of smoking and Alzheimer’s disease. The data set has two variables of main interest: smoking a factor with four levels “None”, “<10”, “10-20”, and “>20” (cigarettes per day) disease a factor with three levels “Alzheimer”, “Other dementias”, and “Other diagnoses”. ## ── ...
2676 sym R (443 sym/4 pcs) 3 img
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) options(scipen=999) data(...
2627 sym R (1807 sym/2 pcs)
Tidytuesday
Choose one of David Robinson’s tidytuesday screencasts, watch the video, and summarise. https://www.youtube.com/channel/UCeiiqmVK07qhY-wvg3IZiZQ Instructions You must follow the instructions below to get credits for this assignment. Read the document posted in Moodle before answering the following questions. Write in your own words. Multiple ...
4114 sym