Learn R Programming

delimtools (version 0.2.0)

match_ratio: Compute Agreement Between Alternative Species Delimitation Partitions

Description

match_ratio() uses the Match Ratio statistic of Ahrens et al. (2014) to compute agreement between all pairs of species delimitation partitions in delim_join output.

Usage

match_ratio(delim)

Value

an object of class tbl_df.

Arguments

delim

Output from delim_join.

Author

Pedro S. Bittencourt

Details

match_ratio() iterates between all species delimitation partitions in delim_join output and returns a tbl_df containing the following columns:

  • pairs pairs of species delimitation methods analyzed.

  • delim_1 number of species partitions in method 1.

  • delim_2 number of species partitions in method 2.

  • n_match number of identical species partitions in methods 1 and 2.

  • match_ratio match ratio statistic, where 0 indicates no agreement between pairs of species delimitation partitions and 1 indicates complete agreement between them.

Examples

Run this code

# estimate match ratio statistics
match_ratio(geophagus_delims)

Run the code above in your browser using DataLab