@@ -15,6 +15,7 @@ utils::globalVariables(c(
1515# ' @param b_hw "b" value for hardwood root biomass
1616# ' @param a_frp "a" value for fine root proportion
1717# ' @param b_frp "b" value for fine root proportion
18+ # ' @param c_frp "c" value for fine root proportion
1819# ' @param biomassToCarbonRate Conversion factor of biomass to carbon
1920# '
2021# ' @references
@@ -29,7 +30,7 @@ utils::globalVariables(c(
2930calcRootC <- function (aboveGroundC , sw_hw ,
3031 a_sw = 0.222 , b_sw = 1 ,
3132 a_hw = 1.576 , b_hw = 0.615 ,
32- a_frp = 0.072 , b_frp = 0.354 ,
33+ a_frp = 0.072 , b_frp = 0.354 , c_frp = - 0.060212 ,
3334 biomassToCarbonRate = 0.5 ){
3435
3536 aboveGroundColumns <- c(" Merch" , " Foliage" , " Other" )
@@ -43,7 +44,7 @@ calcRootC <- function(aboveGroundC, sw_hw,
4344 totAGC <- rowSums(aboveGroundC [, ..aboveGroundColumns ])
4445
4546 # Convert Mg/ha of Carbon to Mg/ha of biomass
46- totAGB <- totAGC * 2
47+ totAGB <- totAGC / biomassToCarbonRate
4748
4849 # Calculate root total biomass
4950 if (! all(sw_hw %in% c(1 ,0 ))) {
@@ -55,7 +56,7 @@ calcRootC <- function(aboveGroundC, sw_hw,
5556 a_hw * totAGB ^ b_hw )
5657
5758 # Calculate the proportion of fine roots
58- fineRootProp <- a_frp + b_frp * exp(- 0.060212 * rootTotBiom )
59+ fineRootProp <- a_frp + b_frp * exp(c_frp * rootTotBiom )
5960
6061
6162 # Calculate the proportion of fine roots
0 commit comments