Skip to content

Instantly share code, notes, and snippets.

@smathermather
Last active July 4, 2017 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smathermather/f42c8f7ca8502b8c8a48ba43a0ddb0af to your computer and use it in GitHub Desktop.
Save smathermather/f42c8f7ca8502b8c8a48ba43a0ddb0af to your computer and use it in GitHub Desktop.
---
title: "gorilla_plant_biomass"
author: "Olivier Jean Leonce Manzi and Stephen Vincent Mather"
date: "July 3, 2017"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## R Markdown
```{r code, echo=FALSE}
library(mcmc)
zones <-
read.csv("zones_with_biomass.csv")
out <- glm(Gorillas.counts ~ Herbs.biomass..g.m2. + Trees.biomass..stems.m2. + Eucalyptus.biomass..stems.m2. + Bamboos.biomass..stems.m2. + Rubus.biomass..g.m2., family = poisson, data = zones)
summary(out)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment