Learn R Programming

REAT (version 1.2.1)

portfolio: Portfolio matrix

Description

Portfolio matrix plot comparing two numeric vectors

Usage

portfolio(x, y, z, label_x = "X", label_y = "Y", heading = "Portfolio", pcol = "given", colsp = 0, leg = FALSE, leg_vec = 0, leg_fsize = 1, leg_x = -max_val, leg_y = -max_val/2)

Arguments

x
A numeric vector representing the values for the x axis
y
A numeric vector representing the values for the y axis
z
A numeric vector representing the size of the points/bubbles
label_x
Label for the x axis
label_y
Label for the y axis
heading
Heading for the plot
pcol
indicates if the colors of the points are given by the user (pcol = "given") and defined by the vector colsp or set by random (pcol = "random")
colsp
a vector representing the user-defined colors of the points
leg
logical argument that indicates if the plot has a legend or not (default: leg = FALSE)
leg_vec
if leg = TRUE, this vector defines the values for the plot legend
leg_fsize
if leg = TRUE, this value defines the font size of the legend
leg_x
if leg = TRUE: x coordinate for the legend (default: leg_x=-max_val, where max_val is the maximum value of all values in the dataset)
leg_y
if leg = TRUE: y coordinate for the legend (default: leg_y=-max_val/2, where max_val is the maximum value of all values in the dataset)

Value

A plot of the portfolio matrix

Details

The portfolio matrix is a graphic tool displaying the development of one variable compared to another variable. The plot shows the regarded variable on the $x$ axis and a variable with which it is confronted on the $y$ axis while the graph is divided in four quadrants. Originally, the portfolio matrix was developed by the Boston Consulting Group to analyze the performance of product lines in marketing, also known as the growth-share matrix. The quadrants show the performace of the regarded objects (stars, cash cows, question marks, dogs) (Henderson 1973). But the portfolio matrix can also be used to analyze/illustrate the world market integration of a region or a national economy by confronting e.g. the increase in world market share ($x$ axis) and the world trade growth ($y$ axis) (Baker et al. 2002). Another option is to analyze/illustrate the economic performance of a region (Howard 2007). E.g. it is possible to confront the growth of industries in a region with the all-over growth of these industries in the national economy.

References

Baker, P./von Kirchbach, F./Mimouni, M./Pasteels, J.-M. (2002): “Analytical tools for enhancing the participation of developing countries in the Multilateral Trading System in the context of the Doha Development Agenda”. In: Aussenwirtschaft, 57, 3, p. 343-372.

Howard, D. (2007): “A regional economic performance matrix - an aid to regional economic policy development”. In: Journal of Economic and Social Policy, 11, 2, Art. 4.

Henderson, B. D. (1973): “The Experience Curve - Reviewed, IV. The Growth Share Matrix or The Product Portfolio”. The Boston Consulting Group (BCG).

See Also

shift

Examples

Run this code
data(Freiburg)
# Loads the data
industries <- Freiburg$industry
x <- Freiburg$e_g_Freiburg_0814
y <- Freiburg$e_g_Germany_0814
z <- Freiburg$e_Freiburg2014
portfolio(x,y,z, "Freiburg", "Germany", "Growth portfolio Freiburg and Germany",
pcol="given", colsp=Freiburg$color, leg=1, leg_vec=industries, leg_fsize=0.6)
# Creates a portfolio comparing the industry growth in Freiburg and Germany

Run the code above in your browser using DataLab