swp_carbon_stockchange: Calculates changes in carbon stock from solid wood products....

Description Usage Arguments Value Examples

Description

Calculates changes in carbon stock from solid wood products. Units are in Tg Carbon. For production approach, values correspond to 'Calculation$BY' in the spreadsheet. For stock change approach, values correspond to 'Calculation$H' in the spreadsheet.

Usage

1
2
3
4
swp_carbon_stockchange(years, approach = c("Production", "Stock Change"),
  decaydistribution = c("Exponential", "K=2", "K=10"),
  halflives = halfLives, fsp = fracstrpanels, fnsp = fracnonstrpanels,
  fsawn = fracsawnwood, swpdata, woodToCarbon = 4.535925e-07)

Arguments

years

years to return carbon totals for

approach

approach type used to calculate

decaydistribution

type of decay distribution to use

halflives

data frame of half lives to use. Must have a column associated with each one of 13 end uses and half life values for 1900 until the maximum year of interest.

fsp

Fraction of structural panel products that go to each end use. Default can be substituted with data with a column for each end use and row for years from 1900 to latest year of interest.

fnsp

Fraction of non-structural panel products that go to each end use. Default can be substituted with data with a column for each end use and row for years from 1900 to latest year of interest.

fsawn

Fraction of sawnwood products that go to each end use. Default can be substituted with data with a column for each end use and row for years from 1900 to latest year of interest.

swpdata

Optional argument to provide swp production and trade time series for purposes of error analysis

woodToCarbon

Conversion factor to convert oven-dry tons of solid wood to Tg of Carbon.

Value

A vector of swp carbon stock changes for 'years'

Examples

1
2
3
4
5
## Not run: 
swp_carbon_stockchange(1990:2000)
swp_carbon_stockchange(1950:1975, approach = "Stock Change", decaydistribution = "K=2")

## End(Not run)

benjones2/WOODCARB3R documentation built on May 12, 2019, 11:58 a.m.