{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
UBC STAT545 2014 Cm002 deep thoughts
1. STAT 545A Class meeting 002
Deep thoughts re: data analytic work +
Getting started with R and RStudio
web companion: STAT 545 web home > Syllabus > cm002
Monday, September 8, 2014
2. Dr. Jennifer (Jenny) Bryan
Department of Statistics and Michael Smith Laboratories
University of British Columbia
jenny@stat.ubc.ca
https://github.com/jennybc
http://www.stat.ubc.ca/~jenny/
@JennyBryan ← personal, professional Twitter
https://github.com/STAT545-UBC
http://stat545-ubc.github.io
@STAT545 ← Twitter as lead instructor of this course
5. tough love:
typos matter
case matters
th_is is different from th-is
spaces in filenames are EVIL
want computer to do tedious work for you?
then you must give precise instructions
6. A place for everything,
everything in its place.
Benjamin Franklin
7.
8.
9. source is real
“The source code is real. The objects
are realizations of the source code. Source
for EVERY user modified object is placed in a
particular directory or directories, for later
editing and retrieval.”
-- from the Emacs Speaks Statistics (ESS) manual
10.
11. write code for humans,
write data for computers
Vince Buffalo
12. data written for humans ...
http://cdec.water.ca.gov/cgi-progs/reports/PRECIPOUT.2011
13. ... is hard to explain to a computer
http://nbviewer.ipython.org/github/abostroem/2014-09-10-LBL/blob/master/pandas/load_precip_data.ipynb
h/t @jiffyclub
23. switch to live coding ...
see web companion for indicative content:
STAT 545 web home > Syllabus > cm002
Students with R/RStudio experience were encouraged to
contribute something to the “Learn R” world.
Suggestion: use, review, extend swirl (see next slide).
25. you do know that R ≠ RStudio, right?
we use RStudio because it makes us happier in our
work, but notice that nothing we produce --
no code, no figures, nothing -- requires
RStudio to be created, appreciated or
reused
this is important
this is intentional
26. photos
Deep Thoughts, tree, mist, sun
Loco Steve, Goldie Dawn
http://www.flickr.com/photos/36989019@N08/5546134597/
Messy beer cans
http://www.schiesshouse.com/dontdothis.htm
Hanging beer cans
http://www.beastpieces.com/2009/07/its-superior/
Messy computer desktop
https://www.flickr.com/photos/jeanbaptisteparis/724619122/in/photolist-272S29-auRiXZ
Trifle
http://assets.cougar.nineentertainmentco.com.au/Assets/GourmetTraveller/2013/05/09/8837/1209gtpmtrifle-628.jpg
Trifle recipe
http://www.gourmettraveller.com.au/recipes/print-recipe/?id=8837
Winner of 2004 Obfuscated C code competition
http://m.eet.com/media/1076421/1106esdGanssle01.gif
Cheers “Where Everybody Knows Your Name”
http://cheersboston.blogspot.ca
PC vs Mac
http://www.frumsatire.net/2009/03/14/mac-vs-pc/
You can’t get there from here
http://cstacalicious.ning.com/photo/liss-platt-still-from-you-can-t-get-there-from-here-2005-8?context=latest
Hand-crafted basket woven chair
http://www.visitscotland.com/cms-images/2x1/regions/orkney/hand-crafted-furniture