Example Code
QQ Plot demo applet (created by Zhan Xiong, posted to Stack Exchange here)
- Instructions: Download all three of the following files, and, if working on the server, upload them to the same directory in your server account. Open the file entitled
ui.R
in RStudio, and click the “Run App” button at the top of the source pane. - ui.R, server.R, sample.R
Code from 2/12 class on checking regression conditions here
- This is an R script, so although you can view it in any plain text editor (like TextEdit or NotePad), the best thing to do is to upload it to the RStudio server so that (a) the syntax will get color coded for you to make it easier to read, and (b) you can actually play with it and run pieces of it.
Code from 2/14 class on checking regression conditions here
Code from 3/7 class on interactions with 3D plots here
Code from 3/30 class on automated selection methods here
Code from 4/16 class on outlier detection in logistic regression here