An S4 class to declare a demand in the model
Slots
namecharacter. Name of the demand.
desccharacter. Optional description of the demand for reference.
commoditycharacter. Name of the commodity for which the demand will be specified.
unitcharacter. Optional unit of the commodity.
demdata.frame. Specification of the demand.
- region
character. Name of region for the demand value. NA for every region.
- year
integer. Year of the demand. NA for every year.
- slice
character. Name of the slice for the demand value. NA for every slice.
- dem
numeric. Value of the demand.
regioncharacter. Optional name of region to narrow the specification of the demand in the case of used NAs. Error will be returned if specified regions in
@demare not mensioned in the@regionslot (if the slot is not empty).misclist. Optional list of additional information.
