tealeaves: an R package for modeling leaf temperature using energy budgets. Accepted in AoB PLANTS.
This is a manuscript associated with the R package tealeaves. This project was developed by Chris Muir.
More information about the study is available on github.
- Download or clone this repository to your machine.
git clone [email protected]:cdmuir/tealeaves-ms.git
- Open
tealeaves-ms.Rproj
in RStudio
You can source all the code you need in the correct order using r/run-all.R
. Even if you don't want to run all the code, you may need to install some packages (r/install-packages.R
) and attach them (r/header.R
).
- To use premade R output, simply open
ms/ms.Rnw
and compile using RStudio. - Next, source
r/run-all.R
in the R Console:
# This will take several minutes to run
source("r/run-all.R")