Skip to contents

Define `plotAbsorption` task and its settings

Usage

loadPlotAbsorptionTask(workflow, active = FALSE, settings = NULL)

Arguments

workflow

`MeanModelWorkflow` object or derived class

active

logical defining if `Task` will be run by workflow. Default value is `FALSE`

settings

specific settings for `plotAbsorption` task

Value

A `PlotTask` object

Examples

if (FALSE) { # \dontrun{

# A workflow object needs to be created first
myWorkflow <- MeanModelWorkflow$new(workflowFolder, simulationSets)

# (Re)load a default plotAbsorption task for workflow
myWorkflow$plotAbsorption <- loadPlotAbsorptionTask(
  workflow = myWorkflow,
  active = TRUE
)

# Load a user-defined simulation task for workflow
myWorkflow$userDefinedTasks[["plotAbsorption"]] <- loadPlotAbsorptionTask(
  workflow = myWorkflow,
  active = TRUE
)
} # }