Skip to contents

Merge taxon concepts form into single ones or insert accepted names to slot samples.

This method is applied to a function defined in the package taxlist-package and only modify the slot species in the input object.

The use of taxa2samples() with merge_to argument will produce a similar result as using merge_taxa with level argument, but taxa2samples() will replace the records in slot samples by the respective accepted names without any modification in slot species. Additionally taxon concept IDs will be addes as columns in samples and taxon traits if indicated in argument add_traits.

This function is producing and displaying KML files.

Georeferenced plots can be quickly displayed in Google Earth using this function.

Names provided in a character vector will be compared with names stored in slot taxonNames of an object of class taxlist by using the function stringdist::stringsim().

This method is applied to the slot species in the input vegtable object.

The functions listed below are deprecated and will be defuncti in the near future.

Usage

merge_taxa(object, ...)

vegtable2kml(obj, ...)

match_names(x, ...)

Arguments

object

An object of class vegtable to be compared with.

...

Further arguments passed to taxlist::match_names().

obj

Input object containing coordinate values.

x

A character vector with names to be compared.

concepts

Numeric (integer) vector including taxon concepts to be merged.

level

Character value indicating the level to which the taxa have to be merged.

file

Character value with the name of output file (including file extension).

coords

Either a character vector or a formula indicating the names of coordinate values.

srs

Spatial reference system as proj4string.

Value

An object of class vegtable.

A KML file, which will be automatically opened in Google Earth.

merge_taxa

For merge_taxa(object, ...), use merge_taxa(object@species, ...)

match_names

For match_names(object, ...), use match_names(object@species, ...)

See also

vegtable-deprecated

vegtable-deprecated

Author

Miguel Alvarez kamapu@posteo.de