-
-
Save smathermather/f42c8f7ca8502b8c8a48ba43a0ddb0af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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