lineFitApp: Interactive line-fitting application

Description Usage Author(s) Examples

Description

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.

Usage

1
lineFitApp(display = c("normal", "showcase"))

Author(s)

Daniel Kaplan (kaplan@macalester.edu) , Mengdie Wang(mwang3@macalester.edu) and Jingjing Yang(jyang1@macalester.edu)

Examples

1
2
lineFitApp() #if you do not want to display the code
lineFitApp(display = "showcase") #if you want to display the code

farfallawang/mosaicApps documentation built on May 16, 2019, 10:09 a.m.