get_default_input {peermodels}R Documentation

Returns default PRISM model input

Description

Returns default PRISM model input

Usage

get_default_input(model_name = NULL, api_key = NULL, server = NULL)

Arguments

model_name

name of the model. If null, it will be set to the last call's value.

api_key

API key. If null, it will be set to the last call's value.

server

Server address. If null, it will be set to Peer Models Network PRISM server on the first run and to the last call's value on subsequent runs.

Value

default model inputs, which can be changed and submitted to the model for a different run.

Examples

## Not run: 
sample_input <- get_default_input(model_name = "accept", api_key = "YOUR_API_KEY")

## End(Not run)

[Package peermodels version 0.10.3 Index]