Description Usage Arguments Details Examples
This function matches pairs of names based on similarity to create a set of trials. Names are matched, such that each name is only used once and the sum of the distances over all names in total is minimized.
1 | match.split(s, ...)
|
s |
The split of the names. Only the first two groups will be used, if the split contains more than two groups. |
... |
Arguments passed on to
|
Normally the principal components are used for matching names, but other ratings can also be added and emphasized to create sets of names which are more similar along a special set of ratings.
Note: the split and the matching can be performed in one step
using the method match.partition
.
1 2 3 4 5 6 7 8 9 | # Create a split based on Sex
s <- partition.names(Sex)
# Match pairs of male and female names
m <- match.split( s )
m
# Emphasize on competence and intelligence (weighted 10 times)
m <- match.split(s, Competence=10, Intelligence=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.