Skip to contents

Define `plotTimeProfilesAndResiduals` task and its settings

Usage

loadPlotTimeProfilesAndResidualsTask(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 `TRUE`

settings

specific settings for `simulate` task

Value

A `GofPlotTask` object

Examples

if (FALSE) { # \dontrun{

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

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

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