Learn R Programming

openmpp (version 0.0.1)

touch_model_profile: Update Model Profile

Description

Functions for creating, modifying, and deleting profiles and profile options. More information about these API endpoints can be found at here.

Usage

touch_model_profile(model, data)

delete_model_profile(model, profile)

set_model_profile_opt(model, profile, key, value)

delete_model_profile_opt(model, profile, key)

Value

A list from a JSON response object or nothing (invisibly).

Arguments

model

Model digest or model name.

data

Data used for the body of the request.

profile

Profile name.

key

Option key.

value

Option value.

Examples

Run this code
if (FALSE) {
use_OpenMpp_local()
touch_model_profile(
  "RiskPaths",
  list(Name = "profile1", Opts = list(Parameter.StartingSeed = "192"))
)
delete_model_profile("RiskPaths", "profile1")
}

Run the code above in your browser using DataLab