Learn R Programming

Sunder (version 0.0.4)

Reformat23: 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

number of loci, a: max number of alleles.