PairwiseList {Jacquard} | R Documentation |
Function PairwiseList
processes the list structure of Jacquard coefficients
and converts it into to table of pairs of individuauls with their Jacquard coefficients.
PairwiseList(X, digits = 3)
X |
A list structure of nine matrices of Jacquard coefficients. |
digits |
Jacquard coefficients are rounded to the given number of digits. |
A matrix
Jan Graffelman (jan.graffelman@upc.edu)
data(DeltaSimulatedPedigree)
ii <- 1:3
SubSet <- list(length = 9)
for (k in 1:9) {
SubSet[[k]] <- matrix(numeric(3^2), ncol = 3)
SubSet[[k]] <- DeltaSimulatedPedigree[[k]][ii,ii]
}
List <- PairwiseList(SubSet)
print(List)