match.split: Match most similar pairs for trial generation in a subset of...

Description Usage Arguments Details Examples

Description

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.

Usage

1

Arguments

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 names.dist

x

The object containing the names

Details

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.

Examples

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)

aggloeckner/GerNameR documentation built on May 20, 2019, 8:01 p.m.