Do the vectors represent the same k-partition?
Source:R/identical_partition.R
identical_partition.Rd
Checks if two vectors represent the same k-partition.
Details
Parameters p1
and p2
are vectors indicating group membership.
In this package context, these vectors have as many elements as the columns
of a phytosociological table, indicating the group membership of each
relevé to one of k groups (i.e., a k-partition).
This function checks if the two given vectors p1
and p2
correspond, in
practice, to the same k-partition, i.e., if the relevé groups are actually
the same, but the group numbers are somehow swapped.
Author
Tiago Monteiro-Henriques and Jorge Orestes Cerdeira. E-mail: tmh.dev@icloud.com.