Learn R Programming

updog (version 1.1.3)

update_R: Update the underlying correlation matrix.

Description

Update the underlying correlation matrix.

Usage

update_R(postmean, postvar)

Arguments

postmean

The matrix of posterior means. The rows index the individuals and the columns index the SNPs.

postvar

The matrix of posterior variances. The rows index the individuals and the columns index the SNPs.

Value

A symmetric matrix of numerics. The update of the underlying correlation matrix.