approx_prod_stats: Approximate summary statistics for a product of phenotypes...

approx_prod_statsR Documentation

Approximate summary statistics for a product of phenotypes and a set of predictors

Description

Approximate summary statistics for a product of phenotypes and a set of predictors

Usage

approx_prod_stats(means, covs, n, response, predictors)

Arguments

means

Vector of means of predictors and the two phenotypes to be multiplied

covs

Covariance matrix of all predictors and the two phenotypes

n

Sample size

response

character. Either "binary" or "continuous".

predictors

a list of elements of class predictor

Value

A list with the predicted covariance matrix of all predictors and the product and the means of all predictors and the product.


jackmwolf/pcsstools documentation built on July 7, 2024, 7:46 p.m.