View source: R/visitor_trace.R
get_config_visitor_trace | R Documentation |
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.
get_config_visitor_trace(path)
path |
a file path to a JSON file |
a named list
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.