Learn R Programming

MicroMoB (version 0.1.2)

get_config_alternative_trace: Get parameters for trace driven alternative blood hosts

Description

The JSON config file should have two entries:

  • O: vector or matrix (see time_patch_varying_parameter for valid dimensions)

For interpretation of the entries, please read setup_alternative_trace.

Usage

get_config_alternative_trace(path)

Value

a named list

Arguments

path

a file path to a JSON file

Examples

Run this code
# to see an example of proper JSON input, run the following
library(jsonlite)
par <- list(
 "O" = rep(1, 5)
)
toJSON(par, pretty = TRUE)

Run the code above in your browser using DataLab