Skip to content

Commit

Permalink
Update inventory.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
bpbond committed Apr 1, 2024
1 parent b9a4230 commit 156cbb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R_scripts/inventory.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,12 @@ inv_long %>%
.groups = "drop") ->
species_mix
species_mix %>%
filter(Year == max(Year)) %>%
group_by(Plot) %>%
mutate(BA_frac = BA / sum(BA)) %>%
knitr::kable(caption = "Basal area by plot and species")
# Live trees DBH
ggplot(species_mix, aes(Year, BA, fill = Genus)) +
geom_area(position="stack") +
Expand Down

0 comments on commit 156cbb3

Please sign in to comment.