Takes a workflow object and reruns it with changes.
ChangeWorkflow(workflow, occurrence = NULL, covariate = NULL, process = NULL, model = NULL, output = NULL, forceReproducible = NULL)
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 |
forceReproducible | Optional logical. Whether to force zoon to collect modules from the online repo in the new workflow. This ensure the analysis is reproducible. |
A list with the results of each module and a copy of the call used to execute the workflow (
# NOT RUN { w <- workflow(UKAnophelesPlumbeus, UKAir, Background(n = 70), LogisticRegression, PrintMap) w2 <- ChangeWorkflow(w, output = PrintMap) # }