Learn R Programming

gatoRs (version 1.0.0)

fixAfterPeriod: Fix taxonomic capitalization of a species name when there are periods involved.

Description

The fixAfterPeriod() function fixes taxonomic capitalization of a string when there are periods in the species name.

Usage

fixAfterPeriod(substring)

Value

Returns the substring with fixed capitalization.

Arguments

substring

A substring from the name column of the data frame to be fixed.

Details

Requires package stringr.