You will turn in your homework on Gradescope! In order to make grading matters efficient, please follow these guidelines. We will be able to get your homework back to you much faster!
Turn in your homework ON TIME. Gradescope will mark assignments late if they are turned in past the stated hour, and we can “unmark” it as late. Aside from emergencies, there is no reason to not turn in work on time.
In RStudio, you will see 4 panes. Two of which are the Console (where answers may show up) and the Editor (where you write your code/answers). You must make sure that your KNIT version (your PDF file that you are going to turn in) displays answers to every question. Please, look at your homework PDF before turning it in!
Imagine you were asked to get an arbitrary answer and you wrote in all the functions to get there. Your code chunk would look like this.
library(dplyr)
##
## Attaching package: 'dplyr'
## The following objects are masked from 'package:stats':
##
## filter, lag
## The following objects are masked from 'package:base':
##
## intersect, setdiff, setequal, union
answer <- iris %>% summarize(mean_sl=mean(Sepal.Length),
median_sl=median(Sepal.Length))
Any person who views your document (your homework assignment pdf) will see your code. The GSI correcting your homework will also see your code, which is wonderful. But you must also print your answer. You can do this by typing answer
or the variable name of your specific homework answer into your code chunk like so.
answer <- iris %>% summarize(mean_sl=mean(Sepal.Length),
median_sl=median(Sepal.Length))
answer
## mean_sl median_sl
## 1 5.843333 5.8
See how the answer is displayed? That’s how you should do it on your homework.
We have provided a \newpage
line between each of the questions on your homework. Do not delete it. This will help you and the GSI’s keep track of pages on Gradescope.
RStudio has a cheat sheet here for your styling needs. For this class, only look at #1-4.
Accurately assign each of your homework pages to the question that they correspond to. You can lose points if you don’t!