powered by
meanStdG mean standardizes a variance matrix (e.g. a G-matrix).
meanStdG
meanStdG(G, means)
A mean standardized variance matrix.
A variance matrix.
A vector of trait means.
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)
Run the code above in your browser using DataLab