make_spabbr: Make species abbreviations from latin species names

Description Usage Arguments Value

View source: R/make_spabbr.R

Description

The function generates species names from latin names

Usage

1
make_spabbr(x, id = TRUE)

Arguments

x

character vector containing latin species names to be abbreviated. Taxonomic levels must be separated by whitespace.

id

logical indicating whether the abbreviation should be a computer ID (TRUE) or scientific abbreviation (FALSE)

Value

Returns a character vector containing species abbreviations. The abbreviations should be valid data.frame column names. Check the uniquety of the returned names (that is not checked by the function).


MikkoVihtakari/MarineDatabase documentation built on July 7, 2020, 2:16 a.m.