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.
pdb.union(x, id_col = x$occurrence_no)
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 |
A data.frame() containing the first entry for each unique occurrence to be represented in x.
data(archosauria)
pdb.union(rbind(archosauria$Ankylosauria, archosauria$Stegosauria))->Eurypoda