View source: R/calcYieldsWeight.R
calcYieldsWeight | R Documentation |
This function calculates the crop area weightings to use for yields.
calcYieldsWeight(
cells = "lpjcell",
weighting = "totalCrop",
marginal_land = "magpie"
)
cells |
if cellular is TRUE: "magpiecell" for 59199 cells or "lpjcell" for 67420 cells |
weighting |
use of different weights (totalCrop (default), totalLUspecific, cropSpecific, crop+irrigSpecific, avlCropland, avlCropland+avlPasture) |
marginal_land |
Defines which share of marginal land should be included (see options below) and whether suitable land under irrigated conditions ("irrigated"), under rainfed conditions ("rainfed") or suitability under rainfed conditions including currently irrigated land (rainfed_and_irrigated) should be used. Options combined via ":" The different marginal land options are:
|
magpie object in cellular resolution
Kristine Karstens, Felicitas Beier
## Not run:
calcOutput("YieldsWeight", yields, aggregate = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.