Homework 1

DACSS 601 – Submission 1

Caleb Hill
2022-06-03

My Code

After uninstalling RStudio, re-installing, and then re-installing the knitr package, today we’re going to complete some basic arithmetic:

#first, create a list of vectors
data <- c(1,3,5,7,9)

#second, let's try adding them together
data + data
[1]  2  6 10 14 18
#third, let's attempt some multiplication
data * data
[1]  1  9 25 49 81
#finally, let's finish our lesson with some division
data / data
[1] 1 1 1 1 1

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY-NC 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Hill (2022, June 7). Data Analytics and Computational Social Science: Homework 1. Retrieved from https://github.com/DACSS/dacss_course_website/posts/httpsrpubscomdoctorchill08910305/

BibTeX citation

@misc{hill2022homework,
  author = {Hill, Caleb},
  title = {Data Analytics and Computational Social Science: Homework 1},
  url = {https://github.com/DACSS/dacss_course_website/posts/httpsrpubscomdoctorchill08910305/},
  year = {2022}
}