truncName: Truncate character strings

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

Description

Truncate character strings

Usage

1
truncName(x,n)

Arguments

x

Character string

n

Maximum length (in characters)

Value

Character string

Author(s)

N. LeMeur

Examples

1
2
xx <- "Anticonstitutionnelement is a family name"
truncName(xx,5)

PCpheno documentation built on Nov. 8, 2020, 5:10 p.m.