Description Usage Arguments Value See Also Examples
Applies simple mixing model to percent vegetation cover layers. User provides d13C endmember values for each plant functional type layer. Function may also be applied to other endmember statistics, such as, endmember standard deviation.
1 2 | calc_del13C(pft.cover, d13C.embs, scale.factor = 100, filename = "",
...)
|
pft.cover |
RasterBrick. Percent cover for each plant functional type,
may be result of |
d13C.embs |
Numeric. Vector of length equal to number of layers in
|
scale.factor |
Numeric. Scale factor for vegetation cover values. Default value = 100. |
filename |
Character. Optional output root filename passed to
|
... |
Other arguments passed to |
RasterLayer. Values correspond to mean vegetation d13C (per mil) for each grid cell.
calc_pft_cover, calc_C4_ratio, overlay.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Generate d13C isoscape based on static endmembers:
# User provides PFT layer stack; may be output of calc_pft_cover()
# In this example, pft_cover stack includes: C4 herb, C3 herb, woody layers
# Vector of d13C endmembers
d13C_emb <- c(-12.5, -26.7, -27.0) # C4 herb, C3 herb, woody
# Apply mixing model using input PFT vegetation layers
d13C_iso <- calc_del13C(pft_cover, d13C_emb)
# Plot d13C isoscape
plot(d13C_iso)
# Calculate weighted standard deviation of mean d13C value:
# Vector of (2x) d13C endmember std. dev. for each vegetation layer
d13C_emb_std <- c(2.2, 4.6, 3.4) # C4 herb, C3 herb, woody
# Apply mixing model using input PFT vegetation layers
d13C_iso_std <- calc_del13C(pft_cover, d13C_std)
# Plot standard deviation layer
plot(d13C_iso_std)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.