authors_etal: Format author strings

Description Usage Arguments Details Value Author(s) Examples

View source: R/authors_etal.R

Description

Format delimited lists of authors and replace others with et al.

Usage

1
authors_etal(x, authors = 3, split = ", *")

Arguments

x

A vector of author names

authors

Number of authors to display before adding et al.

split

Character used for splitting author strings, default comma

Details

Replaces 2 or more authors with et al.

Value

a vector

Author(s)

Chris Stubben

Examples

1
2
authors_etal("Kawasaki S, Mizuguchi K,Sato M, Kono T, Shimizu H.")
authors_etal("Kawasaki S, Mizuguchi K,Sato M, Kono T, Shimizu H.", 2)

cstubben/euPMC documentation built on May 14, 2019, 12:25 p.m.