ChangeWorkflow: Change a workflow and rerun.

Description Usage Arguments Value Examples

View source: R/ChangeWorkflow.R

Description

Takes a workflow object and reruns it with changes.

Usage

1
2
3
4
5
6
7
8
9
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
w <- workflow(UKAnophelesPlumbeus,
              UKAir,
              Background(n = 70),
              LogisticRegression,
              PrintMap)

w2 <- ChangeWorkflow(w,
                     output = PrintMap)

## End(Not run)

zoon documentation built on Feb. 28, 2020, 5:09 p.m.