cdb_compare {Rcompadre}R Documentation

Compare two versions or subsets of a COM(P)ADRE database

Description

Prints a summary of the differences between two CompadreDB objects, including the number of species, studies, and matrices in each. If argument verbose == TRUE, additionally prints a list of the species and studies that are present in one database but not the other.

Usage

cdb_compare(cdb1, cdb2, verbose = FALSE)

Arguments

cdb1, cdb2

CompadreDB objects to compare

verbose

Logical argument indicating whether or not to return lots of detail

Value

NULL. Output is printed rather than returned.

Author(s)

Owen R. Jones <jones@biology.sdu.dk>

See Also

Other data checking: cdb_check_species(), cdb_collapse(), cdb_flag(), mpm_methods

Examples

Compadre1 <- subset(Compadre, Continent == "Asia")
Compadre2 <- subset(Compadre, Continent == "Africa")

cdb_compare(Compadre1, Compadre2)


[Package Rcompadre version 1.3.0 Index]