approx_prod_stats {pcsstools}R 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.


[Package pcsstools version 0.1.2 Index]