Closed maurolepore closed 5 years ago
This relates to issue #82. I don't think that numbering them would be the best option. For now it would suffice, but in the future we'll probably want more flexibility as to how we sum different components (e.g, just aboveground vs roots included). I will address this in issue #82.
I will address this in issue #82.
(Moving here from https://github.com/forestgeo/fgeo.biomass/issues/27#issuecomment-475041500 to ensure I don't forget to address this issue.)
@teixeirak,
Maybe a new column should record parts of a whole? E.g. a set of equations with 3 parts should be labelled like "1/3", "2/3", and "3/3"?
The
dbh
ranges are different for different parts of a tree (e.g.dbh_min_mm
is 142 and 25 forrowid
6 and 7). If a row is within the range some but not all the equations that make up the entire body of a tree, then the biomass will be sum for only the body parts in the adequate range. In other words, some partes of a tree will not be represented at all and this could result in underestimating biomass. There is currently no way for the code to know if a crucial equaiton has been lost.rowid
1and 2 have a different range dbh range. Of course, the actualdbh
value (i.e. 194) falls within the range, but maybe other equations were dropped because they represented a range that doesn't includedbh = 194
.Full reprex
Created on 2019-03-20 by the reprex package (v0.2.1)