feed | R Documentation |
calculates feed demand by animal type out of a gdx file
feed(
gdx,
file = NULL,
level = "reg",
detail = TRUE,
nutrient = "dm",
balanceflow = TRUE
)
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 |
detail |
if FALSE, only total feed demand per animal type is calculated without details on the type of feed |
nutrient |
The nutrient in which the results shall be calculated |
balanceflow |
If true, feed includes the calibration balanceflow |
feed demand by animal type as MAgPIE object (unit depends on selected nutrient attributes)
Isabelle Weindl
## Not run:
x <- feed(gdx)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.