1. Put your name in the file-name

Something like barr_hw1.html. Always zip the file!




2. Always diplay output!

If you are answering a question, don’t make me study your code to know if it worked….be sure to show me.

Don’t do this….

myVar <- rnorm(100)
negatives <- myVar[myVar<0]

Do this…

myVar <- rnorm(100)
negatives <- myVar[myVar<0]
negatives
##  [1] -1.7881008 -0.3992105 -1.3810774 -0.8300234 -0.5119151 -0.3196574
##  [7] -1.1607214 -1.1907847 -0.1479247 -0.5173232 -1.1564271 -0.3204094
## [13] -0.8941212 -1.3387028 -1.2266788 -0.7263385 -0.2757584 -0.8427784
## [19] -0.8484394 -0.3201664 -1.2767880 -0.2304948 -0.8388980 -1.3494994
## [25] -0.9139964 -0.5234464 -0.4454434 -0.2533929 -2.1671007 -1.0063770
## [31] -1.8678011 -1.4164730 -0.4952094 -0.1915325 -0.1468796 -0.5957339
## [37] -2.0928237 -1.2965765 -0.6249123 -0.7299923 -0.4942087 -0.4066247
## [43] -0.8113651 -0.5251261 -1.0179462

Now I can easily see that your code does what it should be doing




3. Make use of Rmarkdown formatting…which is easier to read?

OPTION 1

Question 1

Two paragraphs on hipsters

Kogi brunch shabby chic wolf. Quinoa cronut direct trade meh 90’s. Austin actually etsy celiac flannel bushwick narwhal freegan asymmetrical bitters cred fanny pack distillery taxidermy. Locavore 90’s celiac vegan kinfolk pabst. Swag waistcoat everyday carry, listicle umami meh humblebrag mustache you probably haven’t heard of them deep v helvetica occupy cray normcore. Jean shorts lumbersexual vegan franzen craft beer, microdosing narwhal VHS. Pickled actually church-key chia williamsburg.

Messenger bag master cleanse lomo, lyft before they sold out marfa humblebrag. Viral sustainable activated charcoal franzen, kogi flexitarian raclette biodiesel put a bird on it fingerstache ethical hell of paleo shoreditch cardigan. Af 8-bit offal, neutra tofu tacos brunch ramps forage authentic organic waistcoat fam biodiesel +1. 90’s swag raclette, occupy williamsburg street art meditation pork belly cliche. Cliche deep v drinking vinegar 90’s slow-carb jean shorts. Pabst keytar bespoke deep v vice, occupy gochujang poutine man bun meggings. Leggings gastropub trust fund poutine, cold-pressed tattooed flannel kombucha.

Option 2

# Question 1

## Two paragraphs on hipsters

#Kogi brunch shabby chic wolf. Quinoa cronut direct trade meh 90's. Austin actually etsy celiac flannel bushwick narwhal freegan asymmetrical bitters cred fanny pack distillery taxidermy. Locavore 90's celiac vegan kinfolk pabst. Swag waistcoat everyday carry, listicle umami meh humblebrag mustache you probably haven't heard of them deep v helvetica occupy cray normcore. Jean shorts lumbersexual vegan franzen craft beer, microdosing narwhal VHS. Pickled actually church-key chia williamsburg.

#Messenger bag master cleanse lomo, lyft before they sold out marfa humblebrag. Viral sustainable activated charcoal franzen, kogi flexitarian raclette biodiesel put a bird on it fingerstache ethical hell of paleo shoreditch cardigan. Af 8-bit offal, neutra tofu tacos brunch ramps forage authentic organic waistcoat fam biodiesel +1. 90's swag raclette, occupy williamsburg street art meditation pork belly cliche. Cliche deep v drinking vinegar 90's slow-carb jean shorts. Pabst keytar bespoke deep v vice, occupy gochujang poutine man bun meggings. Leggings gastropub trust fund poutine, cold-pressed tattooed flannel kombucha.