PI_readItermax: Functions to read simulation results

Description Usage Arguments Value Author(s) Examples

View source: R/Isobole_plotting.R

Description

I moved the output of 001-gridInfo.rds from .outputFolder to .outputFolder/Simulations. This function searches both folders to allow backwards compatibility and that .inputFolder now means the "Simulations"-folder for all PI_read* functions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
PI_readItermax(.inputFolder)

PI_readAllPaths(.inputFolder, itermax_dt = PI_readItermax(.inputFolder))

PI_getFinalPaths(allPaths)

PI_readGridLens(.inputFolder)

PI_readGridInfo(.inputFolder)

PI_readGridValues(
  .inputFolder,
  itermax_dt = PI_readItermax(.inputFolder),
  gridlens = PI_readGridLens(.inputFolder)
)

PI_readAreas(.inputFolder, itermax_dt = PI_readItermax(.inputFolder))

Arguments

.inputFolder

Folder where the results are stored. Is searched recursively

itermax_dt

Output from PI_readItermax()

allPaths

Output from PI_readAllPaths()

gridlens

output of PI_readGridLens

Value

data.table(itermax, k) containing the maximum iteration for each population

Author(s)

Daniel Lill (daniel.lill@intiquan.com)

Daniel Lill (daniel.lill@intiquan.com), Venelin Metiv (venelin.mitov@intiquan.com)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(populationIsoboles)
.inputFolder <- system.file("examples/Example-1/Outputs/Simulations",
  package = "populationIsoboles")
populationIsoboles:::PI_readItermax(.inputFolder)
.inputFolder <- system.file("examples/Example-1/Outputs/Simulations",
  package = "populationIsoboles")
populationIsoboles:::PI_readAllPaths(.inputFolder)
library(populationIsoboles)
.inputFolder <- system.file("examples/Example-1/Outputs/Simulations",
  package = "populationIsoboles")
populationIsoboles:::PI_readGridValues(.inputFolder)

IntiQuan/populationIsoboles documentation built on Jan. 13, 2022, 8:29 p.m.