Learn R Programming

antitrust (version 0.99.10)

Stackelberg-class: Class “Stackelberg”

Description

The “Stackelberg” class is a building block used to create other classes in this package. As such, it is most likely to be useful for developers who wish to code their own merger calibration/simulation routines.

Arguments

Objects from the Class

Objects can be created by calls of the form new("Stackelberg", ...).

Slots

Let k denote the number of products and n denote the number of plants.

dmcfunPre:

A length n list whose elements equal a function that calculates the derivative of a plant's pre-merger marginal cost with respect to that plant's output.

dmcfunPost:

A length n list whose elements equal a function that calculates the derivative of a plant's post-merger marginal cost with respect to that plant's output.

isLeaderPre:

An n x k logical matrix qhose elements are TRUE if a plant produces a product pre-merger and FALSE otherwise.

isLeaderPost:

An n x k logical matrix qhose elements are TRUE if a plant produces a product post-merger and FALSE otherwise.

Extends

Class '>Cournot, directly. Class '>Bertrand, by class '>Cournot, distance 2. Class '>Antitrust, by class '>Bertrand, distance 3.

Examples

Run this code
# NOT RUN {
showClass("Stackelberg")           # get a detailed description of the class
showMethods(classes="Stackelberg") # show all methods defined for the class
# }

Run the code above in your browser using DataLab