Please submit the .Rmd file and all output files (.html, .pdf, etc.)

Some quick problems

  1. Create an object called myObject and assign it a value between 1 and 100

  2. Add 13 to myObject, making sure the object itself stores the updated value

  3. Is myObject divisible by 2? by 3? by 13? by 21? Use R code to get the answer.

  4. How many times can 5 fit in myObject?

  5. Add myObject to every element of a vector with values 1, 2, 3, 4, and 5

  6. Fix this code (without changing any numbers) to get it to return 8


R Markdown Practice

Create an R markdown document with the following components:

  1. This
  2. Is
  3. an ordered
  4. list!

UW Logo