add_carbon_info: add_carbon_info

add_carbon_infoR Documentation

add_carbon_info

Description

function to translate from soil, veg, and mature age data (already in a table) to the required read-in model parameters

Usage

add_carbon_info(
  data,
  carbon_info_table,
  matchvars = c("region", "GLU", Cdensity_LT = "Land_Type")
)

Arguments

data

= input data tibble to receive carbon info

carbon_info_table

= table with veg and soil carbon densities, and mature.age

matchvars

= a character vector for by = in left_join(data, carbon_info_table, by = ...)

Value

the original table with carbon density info added


bpbond/gcamdata documentation built on March 22, 2023, 4:52 a.m.