Summary methods for the TariffBertrand
, QuotaBertrand
, and TariffCournot
classes
# S4 method for TariffBertrand
summary(
object,
revenue = FALSE,
levels = FALSE,
parameters = FALSE,
market = FALSE,
insideOnly = TRUE,
digits = 2
)# S4 method for QuotaBertrand
summary(
object,
revenue = FALSE,
levels = FALSE,
parameters = FALSE,
market = FALSE,
insideOnly = TRUE,
digits = 2
)
# S4 method for TariffCournot
summary(
object,
market = FALSE,
revenue = FALSE,
levels = FALSE,
parameters = FALSE,
digits = 2
)
Prints either market or product/plant-level summary and invisibly returns a data frame containing the same information.
an instance of class TariffBertrand
, QuotaBertrand
, or TariffCournot
When TRUE, returns revenues, when FALSE returns quantitities. Default is FALSE.
When TRUE returns changes in levels rather than percents and quantities rather than shares, when FALSE, returns changes as a parcent and shares rather than quantities. Default is FALSE.
When TRUE, displays demand and cost parameters. Default is FALSE.
When TRUE, displays aggregate information about the effect of a tariff. When FALSE displays product-specific (or in the case of Cournot, plant-specific) effects. Default is FALSE
When TRUE, rescales shares on inside goods to sum to 1. Default is FALSE.
Number of digits to report. Default is 2.