newSubsidy | R Documentation |
Subsidies are used to represent the financial support provided to production, consumption, or balance of a commodity.
newSub(
name,
desc = "",
comm = "",
region = character(),
defVal = 0,
sub = data.frame(),
misc = list(),
...
)
name |
character. Name of the subsidy object, used in sets. |
desc |
character. Description of the subsidy object. |
comm |
character. Name of the subsidized commodity. |
region |
character. Region where the subsidy is applied. |
defVal |
numeric. Default value of the subsidy. |
sub |
data.frame. Subsidy values.
|
misc |
list. Any additional information or data to store in the subsidy object. |
An object of class sub
Other class constraint policy:
class-constraint
,
class-costs
,
newConstraint()
,
newCosts()
,
newTax()
,
subsidy-class
,
tax-class
SUB_BIO <- newSub(
name = "SUB_BIO", # used in sets
desc = "Biofuel consumption subsidy", # for own reference
comm = "BIO", # must match the commodity name in the model
region = "R1", # region where the subsidy is applied
defVal = 0, # default value
sub = data.frame(
# region = "R1",
year = 2025:2030,
inp = 0.9 # subsidy rate
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.