homogeniseNumberLength: Function transforming species numbers.

Description Usage Arguments Details Value Author(s) Examples

View source: R/homogeniseNumberLength.r

Description

Change the number of leading zeros to homogenise all numbers found in a vector of species and morphospecies names. The length of numbers will be homogenised among species names of a single study given in grouping_vector. If in a given study, the largest number has 3 digits, all numbers will get zeroes concatened before. 1 -> 001.

Usage

1
homogeniseNumberLength(species_vector_by_group)

Arguments

species_vector_by_group

description

Details

If a species name countains several numbers (e.g. Buteo buteoC3F4), they are ignored.

Value

A vector of the same length as species_vector_by_group.

Author(s)

Alban Sagouis

Examples

1
Write an example.

AlbanSagouis/iClean documentation built on May 14, 2020, 9:06 p.m.