# Lining Up Two Sets of Measurements

## Documentation for package ‘lineup2’ version 0.4

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

align_matrix_cols | Align the columns of two matrices
align_matrix_rows | Align the rows of two matrices
corr_betw_matrices | Calculate correlations between columns of two matrices
dist_betw_arrays | Distance between rows of two arrays
dist_betw_matrices | Distance between rows of two matrices
get_2ndbest | Get 2nd-smallest distance for each individual
get_best | Get smallest distance for each individual
get_nonself | Get self-nonself distances
get_problems | Summarize potential problems in a distance matrix
get_self | Get self-self distance
hist_self_nonself | Plot histograms of self-self and self-nonself distances
lineup2ex | Example dataset for lineup2 package
plot_sample | Plot the distances for a given sample
which_2ndbest | Determine which individual has 2nd-smallest distance to each individual
which_best | Determine which individual has smallest distance to each individual