food.dmnd.byyear: Tabulate food demand by year for a model.

View source: R/food-demand.R

food.dmnd.byyearR Documentation

Tabulate food demand by year for a model.

Description

Tabulate food demand by year for in input model using the observed prices and incomes for a given region. If region is NULL, do it for all regions and concatenate the result.

Usage

food.dmnd.byyear(obsdata, params, bc = NULL, region = NULL)

Arguments

obsdata

Table of observed prices and incomes.

params

Model parameter structure, as described in food.dmnd

bc

Vector of regional bias correction factors. Optional. If omitted, no bias correction will be applied.

region

Region to apply the analysis to.

Details

This function is intended to generate model predictions that can be compared to observed consumption.

Value

food demand by year as a data frame


JGCRI/ambrosia documentation built on June 11, 2025, 12:29 a.m.