if you don’t follow the instructions given below it WILL cost you points!
any library that you use in your Rmd has to be loaded at the beginning.
call the file hw# .Rmd, where # is the number, for example hw1.Rmd (but NOT homework1.Rmd, Hw1.Rmd, HW1.Rmd, hw1.rmd etc)
put it in your shared folder, not in any subfolder
make sure it knits on MY computer.
if you read in anything (Resma3.RData, a text file, anything) make sure to read it from the class webpage, not from you hard drive. For example, have
load(url("http://academic.uprm.edu/wrolke/Resma3/Resma3.RData"))
and not
load("C:/myfolder/Resma3.RData"))
it is ok to have that while you are working on the assignment, but you have to change it back before you submit it.
```{r error=TRUE}
Starting with Ver 1.2 RStudio needs a space between a hashtag(s) and the text for a header (this is so a hashtag can be used as a hashtag)
unless I say differently your routines should always be able to handle a general case, not just one specific example. If the assignment includes an example, it might be a good idea if you make one up yourself and write your routine for that. Then when you think you got it apply your routine to the example from the assignment.
so for example say the problem statement is: draw the following graph:
attach(wine)
plot(Heart.Disease.Deaths, Wine.Consumption)
your own example might be:
Amount <- runif(20, 1, 6)
Dead <- 100*Amount + runif(20, 0, 100)
plot(Amount, Dead)