TidyX Episode 150: Shiny Model Building – Predictor Selection & Toast

In this next iteration of our Shiny Modeling building series, Ellis Hughes and I advance our user defined shiny model to ensure that the user is not able to select a variable as both a predictor and outcome variable. We discuss two different ways to do this, based on what sort of controls you’d like to provide the user. Additionally, we cover how to add a Toast drop down box to the user interface. When the user changes something, for example builds a model and then decides they want to change the outcome variable, a little drop down will pop out at the top of the screen to inform the user that something has changed with their data. This ensures that the user is always aware of the output they are looking at, helping to prevent any mistakes in interpretation.

To watch our screen cast, CLICK HERE.

To access our code, CLICK HERE.