Description Usage Arguments Value Examples
View source: R/Dist_mat_lines.R
This function generates a distance matrix where the population is arranged on a lattice where the gaps between rows and columns increases by one unit with each successive individual.
1 |
N |
The total number of individuals in the population.(Must be a square number). |
The function returns a list. The first object in the list is a Nx2 matrix of the coordinates of the individuals. The second object is an NxN distance matrix.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.