Skip to contents

Shorthand function to update list of models and default values by input password

Usage

update_model_choices(input_password, session, model_list = model_examples_list)

Arguments

input_password

From the UI (input$password)

session

Shiny session (don't change this)

model_list

List of models (don't change this)

input$model_select & input$model_select2 are updated as a side effect

Value

a logical TRUE/FALSE if password is valid

Note this function will be re-defined if "passworded_models" is sourced.