ERSA v0.1.3


Monthly downloads



Exploratory Regression 'Shiny' App

Constructs a 'shiny' app function with interactive displays for summary and analysis of variance regression tables, and parallel coordinate plots of data and residuals.



The Exploratory Regression Shiny App (ERSA) package consists of a collection of functions for displaying the results of a regression calculation, which are then packaged together as a shiny app function.


You can install ERSA from github with:

# install.packages("devtools")


This is a basic example which shows you how to solve a common problem:

## basic example code

To use ERSA first do


Then construct a regression model of your choice.

f <- lm(Fertility ~ . , data = swiss)

This opens up a browser through which you can explore the regression model.

Here is a screen shot of the result:

Check out the vignette for more information and details.

To play around with ERSA on another dataset, check out the Shiny app on check out the Shiny app online. It uses the hprice1 dataset from the R package wooldridge.

Functions in ERSA

Name Description
pcpPlot A PCP plot of the data, residuals or hat values from regression fits
createERUI Constructs UI for Exploratory Regression app
reorderTerms Re-order model terms
plotSum Plots of model summaries
plotSeqSS Plots barcharts of sequential sums of squares of lm
drop1_models Constructs a list of fits by dropping predictors from the supplied model
add1_models Constructs a list of fits by adding predictors sequentially
createERServer A function which returns a shiny server for Exploratory Regression
ERSA ERSA: A package exploring regressions with a Shiny app
termColours Constructs colour vector for model terms
exploreReg A function to launch the Exploratory Regression Shiny App
No Results!

Vignettes of ERSA

No Results!

Last month downloads


Type Package
Date 2020-9-22
License GPL (>= 2.0)
Encoding UTF-8
LazyData true
RoxygenNote 7.1.1
VignetteBuilder knitr
NeedsCompilation no
Packaged 2020-09-22 19:54:07 UTC; catherine
Repository CRAN
Date/Publication 2020-09-22 23:00:02 UTC

Include our badge in your README