Skip to contents

Define `plotPKParameters` task and its settings

Usage

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

Arguments

workflow

`Workflow` object or derived class

active

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

settings

specific settings for `plotPKParameters` task

Value

A `PopulationSensitivityAnalysisTask` for `PopulationWorkflow` objects. A `SensitivityAnalysisTask` object otherwise

Examples

if (FALSE) { # \dontrun{

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

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

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