Takes a workflow object and reruns it with changes.

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

## Not run: ------------------------------------ # w <- workflow(UKAnophelesPlumbeus, # UKAir, # Background(n = 70), # LogisticRegression, # PrintMap) # # w2 <- ChangeWorkflow(w, # output = PrintMap) ## ---------------------------------------------