Homework 5: Vectors and Control Structures

HW
Week06
Author

Your Name

Published

March 1, 2024

Download the starter qmd file here

Set-Up

Running the following chunk will generate two files and save them to your current working directory.

set.seed(24038243)
# Generate a vector of data for the problem
x <- round(runif(100, 0, 1e6))
y <- round(runif(100, 0, 1e6))

# write it to a file
writeLines(as.character(x), con = "hw5data-r.txt")
writeLines(as.character(y), con = "hw5data-py.txt")