postHoc: Add a post hoc analysis function to a 'map' object

mapAddPostHocAnalysisR Documentation

Add a post hoc analysis function to a map object

Description

Add a post hoc analysis function to a map object

Usage

mapAddPostHocAnalysis(
  map,
  functionName,
  postHocAnalysisGroups = NULL,
  postHocAnalyses = "all",
  useParallel = getOption("map.useParallel", FALSE),
  ...
)

Arguments

map

Optional map object. If not provided, then one will be created. If provided, then the present object or options passed to prepInputs e.g., url, will be appended to this map.

functionName

A function that is designed for post hoc analysis of map class objects, e.g., rbindlistAG

postHocAnalysisGroups

Character string with one analysisGroups i.e., "analysisGroup1" or "analysisGroup2"

postHocAnalyses

Character vector with "all", (which will do all analysisGroups) the default, or 1 or more of the the functionNames that are in the analyses slot.

useParallel

Logical. If TRUE, then if there is more than one calculation to do at any stage, it will create and use a parallel cluster via makeOptimalCluster

...

Optional arguments to pass into functionName


PredictiveEcology/map documentation built on Nov. 11, 2023, 11:44 a.m.