read_trace_files: Read Trace Files

Description Usage Arguments

View source: R/read_trace.R

Description

Read trace files into list of arrays / data.tables.

Usage

1
2
3
4
5
6
7
8
read_trace_files(
  dir = NULL,
  param_nm_set = NULL,
  iter_set = NULL,
  chain_set = NULL,
 
    pattern = "^%%PARAM%%\\Q_chain_\\E%%CHAIN%%\\Q_iter_\\E%%ITER%%\\Q.rds\\E$"
)

Arguments

dir

[NULL, character] (optional, default NULL)

  • NULL: directory is taken as the newest in itertracer/

  • character: read files from this dir

param_nm_set

[NULL, character] (optional, default NULL)

set of parameter names the traces of which will be read into R.

  • NULL: guess the whole set of names based on file names in dir

  • character: only read these parameters

iter_set

[NULL, integer] (optional, default NULL)

  • NULL: read all possible iterations

  • integer: read these iterations (only)

chain_set

[NULL, integer] (optional, default NULL)

  • NULL: read all possible chains

  • integer: read these chains (only)

pattern

[character] (mandatory)

default "^%%PARAM%%\\Q_chain_\\E%%CHAIN%%\\Q_iter_\\E%%ITER%%\\Q.rds\\E$"; determines how iteration, chain, and parameter name are identified from file names


WetRobot/tracer documentation built on Aug. 7, 2020, 10:53 p.m.