powered by
makeAA(pedigree)
The function first estimates the A matrix using makeA, then it calculates the Hadamard (element-wise) product of the A matrix with itself (A # A).
makeA
AAoutput <- makeAA(Mrode2)
Run the code above in your browser using DataLab