proc_penepma16_res: Get the time, number of trajectories, and relative...

Description Usage Arguments Value

Description

Get the time, number of trajectories, and relative uncertainty from a penepma16 simulation. Sometimes the lines in the file are shifted.

Usage

1
2
proc_penepma16_res(sim_dir, skip_time = 6, skip_traj = 2,
  skip_unc = 33, min_lines = 10, clean = FALSE)

Arguments

sim_dir

The path to the directory with penepma.res file.

skip_time

An integer. The number of lines to skip to read the line containing the simulation time. Default:6.

skip_traj

An integer. The number of lines to skip to read the line containing the number of trajectories, Default: 2 (additional lines).

skip_unc

An integer. The number of lines to skip to read the line with the uncertainty value. Default: 33 (additional lines).

min_lines

An integer. Line limit to be considered a bad read. fail gracefully, returning NAs that we can remove later.

clean

A boolean. If TRUE, delete the work.dat file. Default: FALSE

Value

a tibble with the simulation time (sec), number of trajectories, and the relative uncertainty of the REFLIN transition


jrminter/rpemepma documentation built on May 29, 2019, 11:43 a.m.