model_run: Executes PRISM model

Description Usage Arguments Value

View source: R/1client_lib.R

Description

Executes PRISM model

Usage

1
2
3
4
5
6
7
8
model_run(
  input = NULL,
  model_name = NULL,
  api_key = "",
  local_server = FALSE,
  bypass_router = FALSE,
  async = FALSE
)

Arguments

input

required custom parameters for current model

model_name

name of the model

api_key

API key

local_server

whether or not the call should be directed to the server on localhost. Default is FALSE.

bypass_router

bypass server API router, for debugging purposes

async

should the model be called in async mode?

Value

0 for success and 1 for error


resplab/voiPeermodels documentation built on Dec. 22, 2021, 3:04 p.m.