determineRecalcNeccessary: Determine if calculated quantities need to be updated

Description Usage Arguments Examples

View source: R/Isobole_plotting.R

Description

Check if some simulations are more recent than the file to recalculate. This is useful for calculations which take some time, e.g. the 2d-quantiles ("percentages")

Usage

1
2
3
4
determineRecalcNeccessary(
  .inputFolder,
  fileToRecalc = file.path(.inputFolder, "GLOBAL-101-percentages-grid_fine.rds")
)

Arguments

.inputFolder

Path to "Simulations" with simulation results

fileToRecalc

e.g. "GLOBAL-101-percentages-grid_fine.rds"

Examples

1
2
3
.inputFolder <- system.file("examples/Example-1/Outputs/Simulations",
  package = "populationIsoboles")
populationIsoboles:::determineRecalcNeccessary(.inputFolder)

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