summaryrefslogtreecommitdiff
path: root/src/buffalo-trees-part2.Rmd
diff options
context:
space:
mode:
authorKen Kellner <ken@kenkellner.com>2018-09-06 09:43:57 -0400
committerKen Kellner <ken@kenkellner.com>2018-09-06 09:43:57 -0400
commit15741cbb86ddb17a0192e5030d9c5dccc69d217c (patch)
tree8b63eb9fe04fc5eb17866d5aca1f0716091e3702 /src/buffalo-trees-part2.Rmd
parente863f78a8742093408e1609d747cb3d355f53da5 (diff)
Add part 3 of trees analysis
Diffstat (limited to 'src/buffalo-trees-part2.Rmd')
-rw-r--r--src/buffalo-trees-part2.Rmd4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffalo-trees-part2.Rmd b/src/buffalo-trees-part2.Rmd
index 63289b5..49a8ddc 100644
--- a/src/buffalo-trees-part2.Rmd
+++ b/src/buffalo-trees-part2.Rmd
@@ -200,7 +200,7 @@ Is the homogeneous PPP model appropriate for this dataset?
Visually, it appears that trees are non-randomly distributed.
I explicitly tested my first hypothesis (that the distribution is actually inhomogeneous) using a quadrat test.
-First, I divided area of interest is divided into a grid of 5x5 evenly-sized rectangles (*quadrats*), and the number of trees in each quadrat counted:
+First, I divided area of interest into a grid of 5x5 evenly-sized rectangles (*quadrats*), and counted the number of trees in each quadrat:
```{r}
tree_quads = quadratcount(trees_ppp)
@@ -350,3 +350,5 @@ I found evidence to suppport all three of my hypotheses.
First, the distribution of trees in Buffalo is non-random.
Second, the density of trees is higher inside city parks than outside.
Finally, the density of trees increases with mean income: richer neighborhoods have more trees, matching the findings of [at least one other U.S. study](http://journals.sagepub.com/doi/abs/10.1068/a41236).
+
+View part 3 of the analysis [here](buffalo-trees-part3.html).