meanStdG {evolvability}R Documentation

Mean standardize a variance matrix

Description

meanStdG mean standardizes a variance matrix (e.g. a G-matrix).

Usage

meanStdG(G, means)

Arguments

G

A variance matrix.

means

A vector of trait means.

Value

A mean standardized variance matrix.

Author(s)

Geir H. Bolstad

Examples

G <- matrix(c(1, 1, 0, 1, 4, 1, 0, 1, 2), ncol = 3)
means <- c(1, 1.4, 2.1)
meanStdG(G, means)

[Package evolvability version 2.0.0 Index]