authorship_pattern: Co-authorship Matrix and Average co-authorship

Description Usage Arguments Value Examples

View source: R/authorship_pattern.R

Description

It finds year-wise co-authorship matrix and average co-authorship values

Usage

1
authorship_pattern(authors, pub_years, sep)

Arguments

authors

A character vector containing author names

pub_years

A numeric vector containing publication years

sep

A character pattern separating author names

Value

A list with co-authorship matrix and average co-authorship values

Examples

1
2
3
4
5
authors<-c("Wolf W.R., Lele S.K.",
"Shin D., Yeh X., Khatib O.",
"Aukes D., Heyneman B., Duchaine V., Cutkosky M.R.")
years<-c(2011,2012,2012)
authorship_pattern(authors,years,',')

Example output

$years
[1] 2011 2012

$authorship_matrix
     2 3 4
2011 1 0 0
2012 0 1 1

$avg_co_authorship
[1] 2.0 3.5

scientoText documentation built on May 2, 2019, 1:45 p.m.