model_run.RdExecutes PRISM model
model_run(
model_name = NULL,
model_input = NULL,
api_key = NULL,
server = NULL,
async = FALSE,
email_address = NULL
)name of the model
required custom parameters for current model
API key
server address. Defaults to the Peer Models Network PRSIM repository.
should the model be called in async mode?
async results will be emailed to this address
0 for success and 1 for error
if (FALSE) {
sample_input <- get_default_input(model_name = "epic", api_key = "YOUR_API_KEY")
sample_input$global_parameters.time_horizon <- 15
model_run ("epic", model_input = sample_input)
}