forked from RemkoDuursma/duursma2015plosone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
load.R
29 lines (18 loc) · 837 Bytes
/
load.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
source("R/utils.R")
if(!require(pacman))install.packages("pacman")
pacman::p_load(broom, reporttools, # Two useful packages for
#printing numbers, accessing content of objects.
ascii, # Tables in markdown
plantecophys,
git2r, # use git from R
downloader) # for downloading files
# figures
# (Script with figure definitions, does not make PDFs)
source("R/figures.R")
# output
if(!dir.exists("output"))dir.create("output")
# cache, for downloaded files and analyses
if(!dir.exists("cache"))dir.create("cache")
# Download Medlyn data for example application
acifn <- "data/TumbarumbaGasex_ACis_Medlyn.csv"
spotfn <- "data/TumbarumbaGasex_Spot_Medlyn.csv"