calculateFood: Calculate Food

calculateFoodR Documentation

Calculate Food

Description

Calculate Food

Usage

calculateFood(food, elas, gdp_pc, functionalForm, pop, referenceYear, dt)

Arguments

food

The food consumption at time t.

elas

The elasticity of the commodity. This will vary by country and commodity.

gdp_pc

Per person GDP (gross domestic product) at time t.

functionalForm

Currently one of 0, 1, 2, or 3. Specifies if a log-log, semi-log, or inverse-log food demand model should be used.

pop

Population at time t.

referenceYear

Year of reference to compute the food estimates.

dt

Table in data.table format

trend_factor

Changes due to income and other factors.

Value

A numeric vector of the estimated food consumption.


SWS-Methodology/faoswsFood documentation built on April 6, 2022, 1:37 p.m.