-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathzoonQuickStart.R
34 lines (23 loc) · 1.03 KB
/
zoonQuickStart.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Install zoon from github. This requires devtools
# Devtools needs Rtools if youre using windows
# http://cran.r-project.org/bin/windows/Rtools/
install.packages("devtools")
library(devtools)
install_github("zoonproject/zoon")
library(zoon)
# Some packages that are needed later
# There is actually quite a lot in here. Sorry.
install.packages(c("dismo", "randomForest", "biomod2", "RNCEP", "spocc"))
# Run this to test things are working.
workflow(UKAnophelesPlumbeus, UKAir, OneHundredBackground,
LogisticRegression, PrintMap)
# If you wish to use biomod2 during the workshop check that this works.
# I am having problems getting it to work on this windows machine
# But had no problems on linux.
workflow(UKAnophelesPlumbeus, UKAir, OneHundredBackground,
BiomodModel(modelType="GAM"), PrintMap)
# Finally, this is just a useful function
# You needed to sign in to github to use it
# Type "yes", then check your browser. If you do not have a github account
# use username: zoonworkshop password: zoonsdm1
GetModuleList()