Learn R Programming

REAT (version 1.3.1)

Freiburg:

Description

Dataset with industry-specific employment in Freiburg and Germany in the years 2008 and 2014

Usage

data("Freiburg")

Arguments

Format

A data frame with 9 observations on the following 8 variables.
industry
a factor with levels for the regarded industry based on the German official economic statistics (WZ2008)
e_Freiburg2008
a numeric vector with industry-specific employment in Freiburg 2008
e_Freiburg2014
a numeric vector with industry-specific employment in Freiburg 2014
e_g_Freiburg_0814
a numeric vector containing the growth of industry-specific employment in Freiburg 2008-2014, percentage
e_Germany2008
a numeric vector with industry-specific employment in Germany 2008
e_Germany2014
a numeric vector with industry-specific employment in Germany 2014
e_g_Germany_0814
a numeric vector containing the growth of industry-specific employment in Germany 2008-2014, percentage
color
a factor containg colors (blue, brown, ...)

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