A template for this analysis can be found on RStudio Cloud.
data/
directory.analysis-00.Rmd
should be the only file that you edit. You must create the file analysis-00.html
before submission. No additional files should be added or deleted. Do not change the names of any files. You should only modify chunks that contain a TODO
with a task. Do not add any additional chunks. Do not modify the text, except in the discussion section.For this analysis, do the following:
netid@illinois.edu
is your @illinois
email address.
TODO
statement in a comment. Delete the comment after completing the task.
TODO
to check if there is anything left to do!numeric-results
. You will create a table of the numeric results. The output of this chunk will be considered in grading.graphical-results
. You will create a some graphics that summarize the results. The output of this chunk will be considered in grading.this-is-bad-code
.
You will work on your analysis in RStudio Cloud, render your R Markdown document to .html
, export the entire RStudio project, then submit to Compass2g.
.zip
file needed for submission, but following these steps will guarantee it.Before downloading your analysis from RStudio Cloud, knit your document one final time.
Export your analysis as a .zip
file. (See the gif below.) Name the file analysis-00-netID.zip
where netID
is your NetID.
analysis-00-netID
where netID
is your NetID.Submit analysis-00-netID.zip
(exported from RStudio Cloud) to the correct assignment on Compass2g. You are granted an unlimited number of submissions. Only your final submission will be graded.
.zip
file generated by RStudio Cloud, it is extremely unlikely that you will encounter any issues. Creating the .zip
yourself will likely cause issues. If you are using OSX and Safari, you might need to change your Safari preferences to stop Safari from automatically unzipping the file creating by RStudio Cloud
All analyses are due at 11:59 PM on the assigned due date. (See above.)
If you submit multiple attempts, the final attempt will be graded. If your first submission is on time, but your final submission is late, you will incur the late submission penalty.
In addition to correctness, your code will be graded based on its style. We don’t expect you to have a mature coding style, so we have a list of rules which must be followed.
==
, +
, -
, <-
, etc.) should always be surrounded by spaces.
:
, ::
, $
, [
, [[
, ]
, ]]
^
: Use x ^ 2
instead of x^2
.<-
or =
, not both.
<-
operator, you will need to replace the =
operator in the given code.T
or F
.;
.attach()
function..
, or capital letters in variable and function names.for (i in 1:10)
for(i in 1:10)
mean(x)
mean (x)
predict()
function.)
Much of this is derived from the tidyverse
style guide. If you follow the tidyverse
guide, be aware of our use of ^
and =
.
The analysis is worth a total of 10 points. Grading will be done in a 0 - 1 - 2 style in five categories:
numeric-results
chunk will be checked.)graphical-results
chunk will be checked.).Rmd
file knit without error?The points will be awarded as follows:
Note: This analysis is the “Intro Data Analysis” listed in the syllabus. This assignment will buffer Data Analysis I as noted in the syllabus. (Data Analysis I might end up being called Analysis II. Essentially, this analysis will buffer the first non-practice analysis.)