aggregateIsoboles: Calculate Confidence Level Response Surface

Description Usage Arguments Details Value Author(s)

View source: R/Isobole_plotting.R

Description

For each point on the full grid and each population, check if it lies left or right of the population isobole and assign 0 or 1 to it. Then, calculate the mean for each point. This is equivalent to the confidence level response surface

Usage

1
2
3
4
5
6
7
aggregateIsoboles(
  .inputFolder,
  gridInfo = NULL,
  finalPaths = NULL,
  FLAGoverwriteQuantiles = determineRecalcNeccessary(.inputFolder = .inputFolder,
    fileToRecalc = "GLOBAL-101-percentages-grid_fine.rds")
)

Arguments

.inputFolder

path/to/Simulations

gridInfo

Output of PI_readGridInfo

finalPaths

Result from PI_getFinalPaths

FLAGoverwriteQuantiles

Redo the calculation of the quantiles?

Details

This function will look in .inputFolder for a file called "GLOBAL-101-percentages-grid_fine.rds". If it is found and FLAGoverwriteQuantiles = FALSE, it will load this result

Value

data.table(x,y, percentages)

Author(s)

Daniel Lill (daniel.lill@intiquan.com)


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