Learn R Programming

pleiotest (version 1.0.0)

xrsx_xrsy: Calculate XRsX and XRsY

Description

internal function to calculate crossproducts within pleioR.

Usage

xrsx_xrsy(id_matrix, sets_rs, xx, xy)

Arguments

id_matrix

matrix of IDs

sets_rs

list of inverses of matrix R

xx

numeric vector with crossproducts of the X matrix

xy

matrix with X transpose Y products.