quick_rename: quick_rename

View source: R/quick_rename.R

quick_renameR Documentation

quick_rename

Description

This function allow the user to change the wrong taxa names according to the deault reference databases implemented in biomonitoR.

Usage

quick_rename(x, group = "mi", write_table = FALSE)

Arguments

x

a data.frame as specified in details

group

biotic group of interest. Possible values are mi for macroinvertebrates, mf for macrophytes fi for fish and di for diatoms. Default to mi.

write_table

if TRUE quick_rename() will save a txt file with changes provided by the user.

Details

data.frame must have a column called "Taxa" where put species, genus or family names. See data(macro_ex) for an example dataset.
The function quick_rename() will suggest correct name while allowing the user to insert a name (Enter taxon name).

See Also

asBiomonitor

Examples

data(macro_ex)
macro_ex_mod <- quick_rename(macro_ex, group = "mi")

alexology/biomonitoR documentation built on April 7, 2024, 10:15 a.m.