View source: R/delim_consensus.R
delim_consensus | R Documentation |
delim_consensus()
estimates a majority-vote consensus over the output of
delim_join in a row-wise manner.
delim_consensus(delim, n_match = NULL)
delim |
Output from delim_join. |
n_match |
An integer. Threshold for Majority-Vote calculations. If not specified,
returns a warning and the threshold will be defined as |
delim_consensus()
iterates row-by-row, counting the number of matching species
partition names across all species delimitations methods in delim_join output.
If the sum of identical partition names is greater or equal n_match
,
the consensus column will be filled with its partition name. Otherwise,
consensus column will be filled with NA.
an object of class tbl_df.
Pedro S. Bittencourt
# estimate a majority vote consensus
delim_consensus <- delim_consensus(geophagus_delims, n_match= 5)
# check
delim_consensus
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.