View source: R/tree_distance.R
SplitsCompatible | R Documentation |
Determine whether splits are compatible (concave); i.e. they can both occur on a single tree.
SplitsCompatible(split1, split2)
split1 , split2 |
Logical vectors listing leaves in a consistent order,
identifying each leaf as a member of the ingroup ( |
SplitsCompatible()
returns a logical specifying whether the splits
provided are compatible with one another.
Martin R. Smith (martin.smith@durham.ac.uk)
A <- TRUE
B <- FALSE
SplitsCompatible(c(A, A, A, B, B, B),
c(A, A, B, B, B, B))
SplitsCompatible(c(A, A, A, B, B, B),
c(A, A, B, B, B, A))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.