Description Usage Arguments Examples
An interactive shiny app that will generate a scatterplot of two variables, then allow the user to click the plot in two locations to draw a best fitting line. Residuals are drawn by default; boxes representing the squared residuals are optional.
1 |
x |
the name of numerical vector 1 on x-axis |
y |
the name of numerical vector 2 on y-axis |
data |
the dataframe in which x and y can be found |
showSquares |
logical option to show boxes representing the squared residuals |
leastSquares |
logical option to bypass point entry and automatically draw the least squares line |
1 | ## Not run: plot_ss
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.