ease.recombination: Compute the ease of recombination of a given technological...

View source: R/ease.recombination.r

ease.recombinationR Documentation

Compute the ease of recombination of a given technological class

Description

This function computes the ease of recombination of a given technological class from technological classes - patents (incidence) matrices

Usage

ease.recombination(mat, sparse = FALSE, list = FALSE)

Arguments

mat

A bipartite adjacency matrix (can be a sparse matrix)

sparse

Logical; is the input matrix a sparse matrix? Defaults to FALSE, but can be set to TRUE if the input matrix is a sparse matrix

Author(s)

Pierre-Alexandre Balland p.balland@uu.nl

References

Fleming, L. and Sorenson, O. (2001) Technology as a complex adaptive system: evidence from patent data, Research Policy 30: 1019-1039

See Also

modular.complexity, TCI, MORt

Examples

## generate a technology - patent matrix
set.seed(31)
mat <- matrix(sample(0:1,30,replace=T), ncol = 5)
rownames(mat) <- c ("T1", "T2", "T3", "T4", "T5", "T6")
colnames(mat) <- c ("US1", "US2", "US3", "US4", "US5")

## generate a technology - patent sparse matrix
library (Matrix)
smat <- Matrix(mat,sparse=TRUE)

## run the function
ease.recombination (mat)
ease.recombination (smat, sparse = TRUE)

## generate a regular data frame (list)
list <- get.list (mat)

## run the function
ease.recombination (list, list = TRUE)

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