exit.list: Generate a data frame of exit events from multiple regions -...

exit.listR Documentation

Generate a data frame of exit events from multiple regions - industries matrices (same matrix composition for the different periods)

Description

This function generates a data frame of exit events from multiple regions - industries matrices (different matrix compositions are allowed). In this function, the maximum number of periods is limited to 20.

Usage

exit.list(mat1, mat2, mat3, mat4, mat5, mat6, mat7, mat8, mat9, mat10, mat11,
  mat12, mat13, mat14, mat15, mat16, mat17, mat18, mat19, mat20)

Arguments

mat1

An incidence matrix with regions in rows and industries in columns (period 1 - mandatory)

mat2

An incidence matrix with regions in rows and industries in columns (period 2 - mandatory)

mat...

An incidence matrix with regions in rows and industries in columns (period ... - optional)

Author(s)

Pierre-Alexandre Balland p.balland@uu.nl
Wolf-Hendrik Uhlbach w.p.uhlbach@students.uu.nl

References

Boschma, R., Balland, P.A. and Kogler, D. (2015) Relatedness and Technological Change in Cities: The rise and fall of technological knowledge in U.S. metropolitan areas from 1981 to 2010, Industrial and Corporate Change 24 (1): 223-250

Boschma, R., Heimeriks, G. and Balland, P.A. (2014) Scientific Knowledge Dynamics and Relatedness in Bio-Tech Cities, Research Policy 43 (1): 107-114

See Also

entry, exit, entry.list

Examples

## generate a first region - industry matrix in which cells represent the presence/absence
## of a RCA (period 1)
set.seed(31)
mat1 <- matrix(sample(0:1,20,replace=T), ncol = 4)
rownames(mat1) <- c ("R1", "R2", "R3", "R4", "R5")
colnames(mat1) <- c ("I1", "I2", "I3", "I4")

## generate a second region - industry matrix in which cells represent the presence/absence
## of a RCA (period 2)
mat2 <- mat1
mat2[2,1] <- 0

## run the function
exit.list (mat1, mat2)

## generate a third region - industry matrix in which cells represent the presence/absence
## of a RCA (period 3)
mat3 <- mat2
mat3[5,1] <- 0

## run the function
exit.list (mat1, mat2, mat3)

## generate a fourth region - industry matrix in which cells represent the presence/absence
## of a RCA (period 4)
mat4 <- mat3
mat4[5,3] <- 0

## run the function
exit.list (mat1, mat2, mat3, mat4)

PABalland/EconGeo documentation built on Jan. 5, 2023, 8:40 a.m.