powered by
Converts matrix data to tabular data.
mat2tab(mat)
: matrix
matrix
data.frame with 2 integer (IDs) and 1 numeric (values) columns.
data.frame
# NOT RUN { ped = data.frame(ID=1:6, SIRE=c(0,0,1,3,1,4), DAM=c(0,0,2,2,2,5)) mat2tab(buildA(ped)) # }
Run the code above in your browser using DataLab