pdb.union {paleoDiv}R Documentation

Form the union of two occurrence data.frames or remove duplicates from occurrence data.frame. Useful if parts of a clade are not included in the downloaded dataset and need to be added separately.

Description

Form the union of two occurrence data.frames or remove duplicates from occurrence data.frame. Useful if parts of a clade are not included in the downloaded dataset and need to be added separately.

Usage

pdb.union(x, id_col = x$occurrence_no)

Arguments

x

Concatenated occurrence data.frames to be merged

id_col

Vector or column of x containing id to be used for determining which values contain occurrence numbers to be used for matching entries

Value

A data.frame() containing the first entry for each unique occurrence to be represented in x.

Examples

data(archosauria)
pdb.union(rbind(archosauria$Ankylosauria, archosauria$Stegosauria))->Eurypoda

[Package paleoDiv version 0.3.0 Index]