# NOT RUN {
# Trait values
y <- rnorm(3)
# A variance matrix (the diagonal must be the same order as y).
V <- matrix(c(1.0, 0.5, 0.2, 0.5, 1.0, 0.4, 0.2, 0.4, 1.0), ncol = 3)
# Macroevolutionary predictions (output in the same order as y).
macro_pred(y, V)
# }
Run the code above in your browser using DataLab