View source: R/commodity2FunctionalForm.R
commodity2FunctionalForm | R Documentation |
This function takes a commodity code and maps the commodity code to a "food demand model" code and a "food commodity model" code. These are types of models that were originally implemented by Josef Schmidhuber in SAS, and we are re-using the coefficients in R in the absence of a better food model.
commodity2FunctionalForm(commodityCode)
commodityCode |
A character vector of commodity codes. |
A list with two objects: a vector of the corresponding food demand codes and a vector of the corresponding food commodity codes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.