Skip to contents

Define `calculatePKParameters` task and its settings

Usage

loadCalculatePKParametersTask(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 `calculatePKParameters` task

Value

A `CalculatePKParametersTask` object

Examples

if (FALSE) { # \dontrun{

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

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

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