10 minute warm-up:
Create this table in r:
Questions we will talk about in class:
1) SAT increase?
differences=c(-30, 24, 47, 70, -62, 55, -41, -32, 128, -11, -43, 122, -10, 56, 32, -30, -28, -19, 1, 17, 57, -14, -58, 77, 27, -33, 51, 17, -67, 29, 94, -11, 2, 12, -53, -49, 49, 8, -24, 96, 120, 2, -33, -2, -39, 99)
2) dementia patients, aggressive behavior.
3) DRP scores:
treatment=c(24, 43, 58, 71, 43, 49, 61, 44, 67, 49, 53, 56, 59, 52, 62, 54, 57, 33, 46, 43, 57)
control=c(42, 43, 55, 26, 62, 37, 33, 41, 19, 54, 20, 85, 46, 10, 17, 60, 53, 42, 37, 42, 55, 28, 48)
4) Calcium compared to Placebo.
5) how to create a marginal table. resource to work with here: http://www.cyclismo.org/tutorial/R/tables.html