NIMBIOS Computing in the Cloud Workshop
Markdown is a straightforward markup language for producing documents quickly.
Available on CRAN: Install in the usual way, e.g.
mean( height ~ sex, data=Galton )
Created by DTK, Randall Pruim (Calvin College), Nick Horton (Amherst College)
Several people told me about students/colleagues using SPSS. They can do it, but they don't know what they are doing.
Often, the point of “by hand” is to develop an understanding of what a formula means:
When doing something by hand, you're really using technology:
To form intuition and understanding, it helps to have mastered a set of tasks that you can do at a glance:
If you're teaching data cleaning or wrangling, give students the raw data and have them produce a new set of data.
If you're teaching statistics or the content of the data, give them clean data in an easy to use form.
You can always say later, “Here's where that simple dataset came from.”
Example: I often start with a graph-reading exercise. Partly, this is to get students to realize that even if they think they know, they often do not.
Your scaffolds can do this. Make them attractive.
This is where R/Markdown is fantastic.
We need to document, which implies code. But the code for graphics gets difficult, and it's hard for students to play with the possibilities.
Generates the code needed to recreate the plot. (
mBar() to come.)
mPlot( Galton )
The deer infection data from yesterday's session with Wei-Chen Chen
deer <- read.csv('DeerInfections.csv')
Error in sample(NHANES, size = 500) : object 'NHANES' not found