1 Ch 12 Function writing lInputting functions lFunction writing examples lPooled t-test lPlotting © Fall 2004 Don Edwards and the University of South Carolina
2 Inputting functions lWork from a text file lFixing and sourcing lRe-editing
3 Pooled t-test refresher
4 Pooled t-test example lCode is reasonably transparent lOutput includes a graph and a dataframe (a list is more typical) lR function t.test is also available lBe careful of home-grown functions like this
5 Pooled t-test lbrowser() lGreat for debugging lRemembering options is difficult lBe careful about using it in loops