meanStdG | R Documentation |
meanStdG
mean standardizes a variance matrix (e.g. a G-matrix).
meanStdG(G, means)
G |
A variance matrix. |
means |
A vector of trait means. |
A mean standardized variance matrix.
Geir H. Bolstad
G <- matrix(c(1, 1, 0, 1, 4, 1, 0, 1, 2), ncol = 3) means <- c(1, 1.4, 2.1) meanStdG(G, means)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.