Last data update: 2014.03.03

R: Reformat data
Reformat23R Documentation

Reformat data

Description

Reformat data from the 2-way table format (containing allelic states) to the 3-way table format (containing counts of the various alellic states)

Usage

Reformat23(x)

Arguments

x

A 2-way table containing allelic states

Value

A 3-way table with dimensions (n,l,a) n: number of geographical locations, l: number of loci, a: max number of alleles.

Author(s)

Casper Eriksen

Results