Learn R Programming

zoon (version 0.6.5)

ChangeWorkflow: Change a workflow and rerun.

Description

Takes a workflow object and reruns it with changes.

Usage

ChangeWorkflow(
  workflow,
  occurrence = NULL,
  covariate = NULL,
  process = NULL,
  model = NULL,
  output = NULL,
  forceReproducible = NULL
)

Arguments

workflow

A zoonWorkflow object from a previous zoon analysis

occurrence, covariate, process, model, output

Optional modules (or lists or Chains) to replace the modules in workflow

forceReproducible

Optional logical. Whether to force zoon to collect modules from the online repo in the new workflow. This ensure the analysis is reproducible.

Value

A list with the results of each module and a copy of the call used to execute the workflow (

Examples

Run this code
# NOT RUN {
w <- workflow(UKAnophelesPlumbeus,
              UKAir,
              Background(n = 70),
              LogisticRegression,
              PrintMap)

w2 <- ChangeWorkflow(w,
                     output = PrintMap)
# }

Run the code above in your browser using DataLab