cshare | R Documentation |
Calculates soil carbon share in relation to potential natural vegetation based on a MAgPIE gdx file
cshare(
gdx,
file = NULL,
level = "reg",
reference = "actual",
noncrop_aggr = TRUE,
dir = ".",
spamfiledirectory = ""
)
gdx |
GDX file |
file |
a file name the output should be written to using write.magpie |
level |
Level of regional aggregation; "reg" (regional), "glo" (global), "regglo" (regional and global) or any other aggregation level defined in superAggregate |
reference |
default is "actual" (cshare in actual carbon stocks). Other option is "target" (cshare in target carbon stocks). |
noncrop_aggr |
aggregate non cropland types to 'noncropland' (if FALSE all land types of pools59 will be reported) |
dir |
for gridded outputs: magpie output directory which contains a mapping file (rds) for disaggregation |
spamfiledirectory |
deprecated. please use |
A MAgPIE object containing som values
Kristine Karstens
## Not run:
x <- cshare(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.