Description Usage Author(s) Examples
An interactive demonstration program for showing how the residuals and the sum of square residuals relates to the slope and intercept of a fitted line. There are sliders to modify the slope and intercept of the fitted line and checkboxes that control whether to display the residuals (as lines) or the sum of square residuals (as filled boxes). The numerical value of the sum of square residuals is always shown. By modifying the slope and intercept, you can see how the sum of square residuals increases compared to the optimal, least squares value.
1 | lineFitApp(display = c("normal", "showcase"))
|
Daniel Kaplan (kaplan@macalester.edu) , Mengdie Wang(mwang3@macalester.edu) and Jingjing Yang(jyang1@macalester.edu)
1 2 | lineFitApp() #if you do not want to display the code
lineFitApp(display = "showcase") #if you want to display the code
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.