get_config_visitor_trace: Get parameters for trace driven visitors

View source: R/visitor_trace.R

get_config_visitor_traceR Documentation

Get parameters for trace driven visitors

Description

The JSON config file should have two entries:

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

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

For interpretation of the entries, please read setup_visitor_trace.

Usage

get_config_visitor_trace(path)

Arguments

path

a file path to a JSON file

Value

a named list

Examples

# to see an example of proper JSON input, run the following
library(jsonlite)
par <- list(
 "Wd" = rep(1, 5),
 "xd" = rep(0.01, 365)
)
toJSON(par, pretty = TRUE)

MicroMoB documentation built on Jan. 17, 2023, 9:06 a.m.