Hi all! I would like to calculate the compound matrix. Is there any function in R which could do this? Thanks for helping me. Best wishes, Joanna