combineFlux | R Documentation |
This function combines biogenic and anthropogenic greenhouse gas fluxes from the UK, based on a spatio-temporal model and the national GHG inventory data.
combineFlux(flux_anthro, flux_bio)
flux_anthro |
anthropogenic greenhouse gas fluxes |
flux_bio |
biogenic greenhouse gas fluxes |
calcFlux
, the higher-level function which calls this.
startDate <- as.POSIXct(strptime("01/06/2006", "%d/%m/%Y"), tz = "UTC") endDate <- as.POSIXct(strptime("02/06/2006", "%d/%m/%Y"), tz = "UTC") # create a sequence of dates nTimes <- 2 datect <- seq(startDate, endDate, length = nTimes) flux_anthro <- calcFlux_anthro("ch4", datect, proj = "OSGB", res = "100", "mol", "nano") flux_bio <- calcFlux_bio ("ch4", datect, proj = "OSGB", res = "100", "mol", "nano") flux_all <- combineFlux(flux_anthro, flux_bio)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.