Description Usage Arguments Value Examples
This is the main function of zoon. The arguments should specify at least five modules, at least one of each type. If modules do not have any arguments to be specific (or defaults are being used) then simply give the names of the module. If arguments are needed give the modules in the form of a function e.g. occurrence = AModule(para1 = 2, para2 = 'detail')
1 2 3 4 5 6 7 8 |
occurrence |
Occurrence module to be used. |
covariate |
Covariate module to be used. |
process |
Process module to be used. |
model |
SDM model module to be used. |
output |
Output module to be used. |
forceReproducible |
Logical whether to force zoon to collect modules from the online repo. This ensure the analysis is reproducible. |
A list with the results of each module and a copy of the code used to execute the workflow. If the workflow fails a partial list is saved to a temporary file for debugging.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # run a workflow, using the logistic regression model
## Not run:
work1 <- workflow(occurrence = UKAnophelesPlumbeus,
covariate = UKAir,
process = Background(n = 70),
model = LogisticRegression,
output = SameTimePlaceMap)
str(work1, 1)
work2 <- workflow(UKAnophelesPlumbeus,
UKAir,
OneHundredBackground,
RandomForest,
PrintMap)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.