Description Usage Arguments Value Examples
Choose model asks the user inside the console for input. Options are Exit, New Model, or one of a list of existing models. If no integer number was presented by the user an ERROR message will be created but no ERROR will be thrown. This way this can be inserted inside a loop.
1 | choose_model(rivermodels)
|
rivermodels |
A list of named models |
Returns the user input as character vector, or an ERROR message.
1 2 | choose_model(list())
choose_model(list(fake_river_model = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.