Skip to content
Leaf energy budgets in R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
figures
ms
r
.gitignore
LICENSE
README.md
tealeaves-ms.Rproj

README.md

tealeaves-ms

{tealeaves}: an R package for modeling leaf temperature using energy budgets.

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.

Downloading data and code

  1. Download or clone this repository to your machine.
git clone git@github.com:cdmuir/tealeaves-ms.git
  1. Open tealeaves-ms.Rproj in RStudio

Generating manuscript

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")

CC BY

You can’t perform that action at this time.