approx_prod_stats {pcsstools} | R Documentation |
Approximate summary statistics for a product of phenotypes and a set of predictors
approx_prod_stats(means, covs, n, response, predictors)
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 |
A list with the predicted covariance matrix of all predictors and the product and the means of all predictors and the product.